Files
tp/include/f_pc/f_pc_layer_iter.h
T

22 lines
652 B
C
Raw Normal View History

2021-04-01 12:06:29 +02:00
#ifndef F_PC_LAYER_ITER_H_
#define F_PC_LAYER_ITER_H_
2021-03-28 22:49:05 +02:00
#include "dolphin/types.h"
2023-05-12 12:10:14 -07:00
typedef struct layer_class layer_class;
2021-03-28 22:49:05 +02:00
2021-04-01 12:06:29 +02:00
typedef struct layer_iter {
2024-11-29 08:24:26 -08:00
/* 0x0 */ void* func;
/* 0x4 */ void* data;
2021-04-01 12:06:29 +02:00
} layer_iter;
typedef int (*fpcLyIt_OnlyHereFunc)(void*, void*);
typedef void* (*fpcLyIt_JudgeFunc)(void*, void*);
2024-11-29 08:24:26 -08:00
s32 fpcLyIt_OnlyHere(layer_class* i_layer, fpcLyIt_OnlyHereFunc i_func, void* i_data);
s32 fpcLyIt_OnlyHereLY(layer_class* i_layer, fpcLyIt_OnlyHereFunc i_func, void* i_data);
void* fpcLyIt_Judge(layer_class* i_layer, fpcLyIt_JudgeFunc i_func, void* i_data);
void* fpcLyIt_AllJudge(fpcLyIt_JudgeFunc i_func, void* i_data);
2021-04-01 12:06:29 +02:00
#endif