Skip to content

Commit

Permalink
Update cpp_plugin.h
Browse files Browse the repository at this point in the history
  • Loading branch information
qubka authored Sep 21, 2024
1 parent d540222 commit 8a66383
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugify/cpp_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <filesystem>
#include <utility>
#include <vector>
#include <span>

#include <plugify/string.h>

Expand Down Expand Up @@ -99,7 +98,7 @@ namespace plg {
FindResourceFn FindResource{ nullptr }; \
} \
extern "C" \
plugin_api PluginResult Plugify_Init(std::span<void*> 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 }; \
} \
Expand Down Expand Up @@ -165,4 +164,4 @@ namespace plg {

bool operator==(const Matrix4x4&) const = default;
};
}
}

0 comments on commit 8a66383

Please sign in to comment.