Macros | |
| #define | REPY_ON_PRE_INIT RECOMP_CALLBACK(REPY_MOD_ID_STR, REPY_OnPreInit) |
| Runs before the Python interpreter is initialized. | |
| #define | REPY_ON_CONFIG_INTERPRETERS RECOMP_CALLBACK(REPY_MOD_ID_STR, REPY_OnConfigInterpreters) |
| Event that runs immediately after the Python interpreter is initialized. Used by the REPY_REGISTER_SUBINTERPRETER macro. | |
| #define | REPY_ON_INIT_CODE_CACHE RECOMP_CALLBACK(REPY_MOD_ID_STR, REPY_OnInitCodeCache) |
| Event that runs immediately after REPY_ON_INIT_SUBINTERPRETERS. Used by the various global and static code caching macros. | |
| #define | REPY_ON_POST_INIT RECOMP_CALLBACK(REPY_MOD_ID_STR, REPY_OnPostInit) |
| Event that runs immediately after the REPY_ON_INIT is called. Since many REPY macros use REPY_ON_INIT, use this event to ensure your code runs after. | |
N64Recompiled events defined by REPY.
| #define REPY_ON_CONFIG_INTERPRETERS RECOMP_CALLBACK(REPY_MOD_ID_STR, REPY_OnConfigInterpreters) |
Event that runs immediately after the Python interpreter is initialized. Used by the REPY_REGISTER_SUBINTERPRETER macro.
If you want to ensure that your code is called after events specified by REPY macros are called, use REPY_ON_POST_INIT.
Takes no arguments, returns void.
| #define REPY_ON_INIT_CODE_CACHE RECOMP_CALLBACK(REPY_MOD_ID_STR, REPY_OnInitCodeCache) |
Event that runs immediately after REPY_ON_INIT_SUBINTERPRETERS. Used by the various global and static code caching macros.
If you want to ensure that your code is called after events specified by REPY macros are called, use REPY_ON_POST_INIT.
Takes no arguments, returns void.
| #define REPY_ON_POST_INIT RECOMP_CALLBACK(REPY_MOD_ID_STR, REPY_OnPostInit) |
Event that runs immediately after the REPY_ON_INIT is called. Since many REPY macros use REPY_ON_INIT, use this event to ensure your code runs after.
Nothing in the repy_api.h header uses this event. Use for your own mod's initialization code.
Takes no arguments, returns void.
| #define REPY_ON_PRE_INIT RECOMP_CALLBACK(REPY_MOD_ID_STR, REPY_OnPreInit) |
Runs before the Python interpreter is initialized.
Primarily used to flag add NRM files to the Python module search path on startup.
Takes no arguments, returns void.