RecompExternalPython for N64Recompiled 2.0.0
Loading...
Searching...
No Matches
REPY_FN - Python Interpreter Operations Matching C Function Scopes.

Topics

 REPY_FN_SETUP/CLEANUP - Initialization and cleanup of Python scopes.
 REPY_FN_EXEC - Python Scoped Inline Code Execution.
 REPY_FN_EVAL - Python Scope Expression Evaluation.
 REPY_FN_GET/SET - Python Scope Namespace Management.
 REPY_FN_IF_CACHE - Conditional Statements Based on Python Scopes
 REPY_FN Loops - C Loops Controlled By Python Scope

Detailed Description

The REPY_FN macro collection is the real powerhouse of the REPY API. Using the exposed API functions, these macros will allow you to execute Python code as part of your mod code functions, with Python scopes that correspond to the scope of the mod code functions themselves, and a control of flow that feels natural.

Interlacing your moc code functions with Python code serves as an excellent workaround for native code being unable to call mod code.

Go to The REPY_FN Overview for more information.