mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2026-05-07 17:31:48 +00:00
Output recomp API version in offline mod recompiler
This commit is contained in:
parent
f903d89eb5
commit
4f61ef4be9
1 changed files with 3 additions and 0 deletions
|
|
@ -136,6 +136,9 @@ int main(int argc, const char** argv) {
|
|||
|
||||
output_file << "#include \"mod_recomp.h\"\n\n";
|
||||
|
||||
// Write the API version.
|
||||
output_file << "RECOMP_EXPORT uint32_t recomp_api_version = 1;\n\n";
|
||||
|
||||
output_file << "// Values populated by the runtime:\n\n";
|
||||
|
||||
// Write import function pointer array and defines (i.e. `#define testmod_inner_import imported_funcs[0]`)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue