diff --git a/lib/Remotery.h b/lib/Remotery.h index b0d89b5..907de69 100644 --- a/lib/Remotery.h +++ b/lib/Remotery.h @@ -1203,11 +1203,21 @@ RMT_API rmtPropertyValue _rmt_PropertyGetValue(rmtProperty* property); #endif #if RMT_USE_METAL + #ifdef __OBJC__ +#ifdef __cplusplus +extern "C" { +#endif + RMT_API void _rmt_BindMetal(id command_buffer); RMT_API void _rmt_UnbindMetal(); +#ifdef __cplusplus +} #endif -#endif + +#endif // __OBJC__ + +#endif // RMT_USE_METAL #endif // RMT_ENABLED