Added AL/CL NativeGetFunctionPointer prefixes.

This commit is contained in:
Ioannis Tsakpinis 2010-09-27 00:25:59 +00:00
parent 917c79a7d4
commit d17e13f24b
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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));