1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| #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
|
|