|
ReXGlue SDK
|
Symbols that generated code and module libraries export. More...
Go to the source code of this file.
Functions | |
| void | ReXRegisterModule (rex::kernel::IFunctionRegistrar *registrar) |
| const rex::ppc::PPCImage * | ReXGetModuleImage () |
| void | RegisterRecompiledModules (rex::kernel::IModuleRegistry &modules) |
| const char * | ReXBuildIdentity () |
| rex::IInterface * | ReXCreateInterface (const char *name, rex::u32 version) |
| rex::u32 | ReXEnumerateInterfaces (rex::InterfaceType *out, rex::u32 capacity) |
Variables | |
| const rex::ppc::PPCImage | kPPCImageConfig |
| const rex::ppc::PPCCallUsage | kPPCCallUsage [] |
Symbols that generated code and module libraries export.
Documentation only. The templates codegen/init_cpp.inja, codegen/register_cpp.inja and codegen/module_registry_cpp.inja write the real definitions, and nothing includes this file.
| void RegisterRecompiledModules | ( | rex::kernel::IModuleRegistry & | modules | ) |
Registers every DLL module of the project with the module registry. Defined in module_registry.cpp of the entrypoint folder.
| modules | The module registry. |
| const char * ReXBuildIdentity | ( | ) |
Returns the identity of the SDK build that a module was compiled against. REX_DECLARE_MODULE defines it, and the loader loads the module only when the identity equals its own.
| rex::IInterface * ReXCreateInterface | ( | const char * | name, |
| rex::u32 | version ) |
Returns the interface pointer for a name and version. REX_DECLARE_MODULE defines it.
| name | The interface name. |
| version | The interface version. |
| rex::u32 ReXEnumerateInterfaces | ( | rex::InterfaceType * | out, |
| rex::u32 | capacity ) |
Lists the interfaces that a module serves, as REX_MODULE_SERVES declares them. REX_DECLARE_MODULE defines it.
| out | Receives the descriptions, or null to only count. |
| capacity | The number of descriptions out holds. |
| const rex::ppc::PPCImage * ReXGetModuleImage | ( | ) |
Returns the image of a DLL module. Defined in <p>_register.cpp of a DLL module.
| void ReXRegisterModule | ( | rex::kernel::IFunctionRegistrar * | registrar | ) |
Registers the recompiled functions of a DLL module. Defined in <p>_register.cpp.
| registrar | The registrar that receives the function mappings. |
|
extern |
The argument registers that each function reads at entry, r3 to r10 and f1 to f13, ending with an entry of zeros.
|
extern |
The image of a binary, defined in <p>_init.cpp. The host program passes it to the application.