From 8a663830194af4c4486a08eeaacdc47e4c7fc666 Mon Sep 17 00:00:00 2001 From: qubka Date: Sat, 21 Sep 2024 01:35:37 +0100 Subject: [PATCH] Update cpp_plugin.h --- plugify/cpp_plugin.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 +}