Files
2026-04-17 20:09:41 +03:00

15 lines
466 B
Plaintext

#pragma once
#include "{{ project }}_config.h"
#include <rex/ppc.h>
#include <rex/logging.h> // For REX_FATAL on unresolved calls
{% for fn in functions %}{% if fn.is_rexcrt %}
PPC_EXTERN_FUNC({{ fn.name }});{% else %}
PPC_EXTERN_IMPORT({{ fn.name }});{% endif %}{% endfor %}
// Import function declarations
{% for imp in imports %}
PPC_EXTERN_IMPORT({{ imp.name }});{% endfor %}
// Function mapping table - iterate to register functions with FunctionDispatcher