From 1da0600c115f1e218bd0a99f55c10cc52ffa5faf Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 4 Oct 2023 15:46:01 +0800 Subject: [PATCH] move include outside extern C scope to satisfy iOS --- ios/include/PolyvoxFilamentFFIApi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/include/PolyvoxFilamentFFIApi.h b/ios/include/PolyvoxFilamentFFIApi.h index 5d35b0bb..6fcfc537 100644 --- a/ios/include/PolyvoxFilamentFFIApi.h +++ b/ios/include/PolyvoxFilamentFFIApi.h @@ -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);