Binding fix
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user