Enable OpenAL for Emscripten build
This commit is contained in:
@@ -7,10 +7,11 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
extern "C" const char *hxRunLibrary();
|
||||
extern "C" void hxcpp_set_top_of_stack();
|
||||
extern "C" const char *hxRunLibrary ();
|
||||
extern "C" void hxcpp_set_top_of_stack ();
|
||||
|
||||
extern "C" int zlib_register_prims();
|
||||
extern "C" int zlib_register_prims ();
|
||||
extern "C" int lime_openal_register_prims ();
|
||||
::foreach ndlls::::if (registerStatics)::extern "C" int ::name::_register_prims();::end::
|
||||
::end::
|
||||
|
||||
@@ -21,7 +22,7 @@ extern "C" int main(int argc, char *argv[]) {
|
||||
hxcpp_set_top_of_stack ();
|
||||
|
||||
zlib_register_prims ();
|
||||
|
||||
lime_openal_register_prims ();
|
||||
::foreach ndlls::::if (registerStatics)::::name::_register_prims();::end::
|
||||
::end::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user