26 lines
472 B
C
26 lines
472 B
C
|
#pragma once
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
|
||
|
typedef il2cpp::os::ProcessHandle UnityPalProcessHandle;
|
||
|
|
||
|
#else
|
||
|
|
||
|
typedef struct UnityPalProcessHandle UnityPalProcessHandle;
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
|
int UnityPalGetCurrentProcessId();
|
||
|
UnityPalProcessHandle* UnityPalGetProcess(int processId);
|
||
|
void UnityPalFreeProcess(UnityPalProcessHandle* handle);
|
||
|
const char* UnityPalGetProcessName(UnityPalProcessHandle* handle);
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
}
|
||
|
#endif
|