Files
ComplexPlane 74e69e9c7e Separately compilable headers (#13)
* Rename stcoli functions

* Add gen_compile_commands.py script

* Add shebang

* gen_compile_commands: pretend to be GCC

* Separately compilable game headers

* Separately compilable system dolphin headers

* Remove stcoli changes from this PR

* Fix EOF newlines
2022-02-21 18:23:59 -06:00

33 lines
633 B
C

#ifndef _DOLPHIN_OSMODULE_H_
#define _DOLPHIN_OSMODULE_H_
#include <dolphin/types.h>
typedef u32 OSModuleID;
struct OSModuleInfo;
typedef struct OSModuleInfo OSModuleInfo;
typedef struct OSModuleLink
{
OSModuleInfo *next;
OSModuleInfo *prev;
} OSModuleLink;
struct OSModuleInfo
{
/*0x00*/ OSModuleID id;
/*0x04*/ OSModuleLink link;
/*0x0C*/ u32 numSections;
/*0x10*/ u32 sectionInfoOffset;
/*0x14*/ u32 nameOffset;
/*0x18*/ u32 nameSize;
/*0x1C*/ u32 version;
};
void OSSetStringTable(void *);
BOOL OSLink(OSModuleInfo *newModule, void *bss);
BOOL OSUnlink(OSModuleInfo *oldModule);
#endif