Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,38 @@
/*
Use the "hxRunLibrary" code to run the static version of the code
*/
#include <hxcpp.h>
#include <string>
extern "C"
{
void __hxcpp_lib_main();
int std_register_prims();
int regexp_register_prims();
int zlib_register_prims();
std::string sgResultBuffer;
HXCPP_EXTERN_CLASS_ATTRIBUTES const HX_CHAR *hxRunLibrary()
{
#if (HXCPP_API_LEVEL<330)
std_register_prims();
regexp_register_prims();
//zlib_register_prims();
#endif
try {
__hxcpp_lib_main();
return 0;
}
catch ( Dynamic d ) {
sgResultBuffer = d->toString().__s;
return sgResultBuffer.c_str();
}
}
}