diff --git a/plugify/cpp_plugin.h b/plugify/cpp_plugin.h index 5de3be3..9feb3f0 100644 --- a/plugify/cpp_plugin.h +++ b/plugify/cpp_plugin.h @@ -6,7 +6,6 @@ #include #include #include -#include #include @@ -99,7 +98,7 @@ namespace plg { FindResourceFn FindResource{ nullptr }; \ } \ extern "C" \ - plugin_api PluginResult Plugify_Init(std::span api, int32_t version, void* handle) { \ + plugin_api PluginResult Plugify_Init(void** api, int32_t version, void* handle) { \ if (version < kApiVersion) { \ return { kApiVersion, PLUGIFY_IS_DEBUG }; \ } \ @@ -165,4 +164,4 @@ namespace plg { bool operator==(const Matrix4x4&) const = default; }; -} \ No newline at end of file +}