LearnWithTouch/App/LearnWithTouch_ios/Libraries/libil2cpp/include/os/c-api/LibraryLoader-c-api.h
2019-07-01 14:33:21 +02:00

23 lines
583 B
C

#pragma once
#if defined(__cplusplus)
#include "os/LibraryLoader.h"
typedef Il2CppMethodPointer UnityPalMethodPointer;
#else
typedef void (*UnityPalMethodPointer)();
#endif
#if defined(__cplusplus)
extern "C"
{
#endif
void* UnityPalLibraryLoaderLoadDynamicLibrary(const char* nativeDynamicLibrary, int flags);
void UnityPalLibraryLoaderCleanupLoadedLibraries();
UnityPalMethodPointer UnityPalLibraryLoaderGetFunctionPointer(void* dynamicLibrary, const char* functionName);
int32_t UnityPalLibraryLoaderCloseLoadedLibrary(void** dynamicLibrary);
#if defined(__cplusplus)
}
#endif