Binding fix

This commit is contained in:
Joshua Granick
2018-04-26 14:11:58 -07:00
parent 55a640c48b
commit d8ce7bf134
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,6 @@
#define HL_NAME(n) hl_##n
#include <hl.h>
#include <hx/CFFIPrime.h>
#include <system/CFFIPointer.h>
#include <system/Mutex.h>
@@ -1889,7 +1888,7 @@ namespace lime {
}
HL_PRIM ALCdevice* HL_NAME (alc_open_device) (vbyte *devicename) {
HL_PRIM ALCdevice* hl_lime_alc_open_device (vbyte *devicename) {
ALCdevice* alcDevice = alcOpenDevice ((char*)devicename);
atexit (lime_al_atexit);
@@ -2053,10 +2052,11 @@ namespace lime {
DEFINE_PRIME1v (lime_alc_resume_device);
DEFINE_PRIME1v (lime_alc_suspend_context);
#define TDEVICE _ABSTRACT (alc_device)
#define TCONTEXT _ABSTRACT (alc_context)
DEFINE_HL_PRIM (TDEVICE, hl_lime_alc_open_device, _BYTES);
DEFINE_HL_PRIM (TDEVICE, lime_alc_open_device, _BYTES);
}