Added AL/CL NativeGetFunctionPointer prefixes.
This commit is contained in:
parent
917c79a7d4
commit
d17e13f24b
|
@ -52,7 +52,7 @@
|
|||
static const struct mach_header* handleOAL = NULL;
|
||||
static CFBundleRef openal_bundle = NULL;
|
||||
|
||||
void *NativeGetFunctionPointer(const char *function) {
|
||||
void *extal_NativeGetFunctionPointer(const char *function) {
|
||||
void *address = NULL;
|
||||
if (handleOAL != NULL) {
|
||||
char *mac_symbol_name = (char *)malloc((strlen(function) + 2)*sizeof(char));
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
static const struct mach_header* handleOCL = NULL;
|
||||
static CFBundleRef opencl_bundle = NULL;
|
||||
|
||||
void *NativeGetFunctionPointer(const char *function) {
|
||||
void *extcl_NativeGetFunctionPointer(const char *function) {
|
||||
void *address = NULL;
|
||||
if (handleOCL != NULL) {
|
||||
char *mac_symbol_name = (char *)malloc((strlen(function) + 2)*sizeof(char));
|
||||
|
|
Loading…
Reference in New Issue