mirror of
https://github.com/TwilitRealm/dusklight.git
synced 2026-05-13 12:28:06 -07:00
4df8ccc871
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
22 lines
727 B
C
22 lines
727 B
C
#ifndef F_PC_METHOD_H_
|
|
#define F_PC_METHOD_H_
|
|
|
|
#include <types.h>
|
|
|
|
typedef int (*process_method_func)(void*);
|
|
|
|
typedef struct process_method_class {
|
|
/* 0x0 */ process_method_func create_method;
|
|
/* 0x4 */ process_method_func delete_method;
|
|
/* 0x8 */ process_method_func execute_method;
|
|
/* 0xC */ process_method_func is_delete_method;
|
|
} process_method_class;
|
|
|
|
int fpcMtd_Method(process_method_func i_method, void* i_process);
|
|
int fpcMtd_Execute(process_method_class* i_methods, void* i_process);
|
|
int fpcMtd_IsDelete(process_method_class* i_methods, void* i_process);
|
|
int fpcMtd_Delete(process_method_class* i_methods, void* i_process);
|
|
int fpcMtd_Create(process_method_class* i_methods, void* i_process);
|
|
|
|
#endif
|