Zig bindings for orca (still WIP) #140
|
@ -8,14 +8,13 @@
|
|||
#include "platform.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
oc_host_platform oc_get_host_platform()
|
||||
{
|
||||
return OC_HOST_PLATFORM_MACOS;
|
||||
}
|
||||
oc_host_platform oc_get_host_platform(void)
|
||||
{
|
||||
return OC_HOST_PLATFORM_MACOS;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
|
|
|
@ -121,7 +121,7 @@ typedef enum
|
|||
OC_HOST_PLATFORM_WINDOWS,
|
||||
} oc_host_platform;
|
||||
|
||||
ORCA_API oc_host_platform oc_get_host_platform();
|
||||
ORCA_API oc_host_platform oc_get_host_platform(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
|
|
|
@ -8,14 +8,13 @@
|
|||
#include "platform.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
oc_host_platform oc_get_host_platform()
|
||||
{
|
||||
return OC_HOST_PLATFORM_WINDOWS;
|
||||
}
|
||||
oc_host_platform oc_get_host_platform(void)
|
||||
{
|
||||
return OC_HOST_PLATFORM_WINDOWS;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
|
|
Loading…
Reference in New Issue