Badminton-Scoreboard/Libraries/libil2cpp/include/os/c-api/Process-c-api.h
2023-10-08 10:24:48 +08:00

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