move include outside extern C scope to satisfy iOS

This commit is contained in:
Nick Fisher
2023-10-04 15:46:01 +08:00
parent b68c5117b4
commit 1da0600c11

View File

@@ -1,6 +1,8 @@
#ifndef _POLYVOX_FILAMENT_FFI_API_H
#define _POLYVOX_FILAMENT_FFI_API_H
#include "PolyvoxFilamentApi.h"
#ifdef __cplusplus
extern "C" {
#endif
@@ -10,8 +12,6 @@ extern "C" {
/// The intention is that calling one of these methods will call its respective method in PolyvoxFilamentApi.h, but wrapped in some kind of thread runner to ensure thread safety.
///
#include "PolyvoxFilamentApi.h"
typedef int32_t EntityId;
typedef void (*FilamentRenderCallback)(void* const owner);