Skip to content

Commit

Permalink
fix: fix incompatible legacy API part.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gottyduke committed Sep 8, 2023
1 parent c5c70dc commit 543ef4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CommonLibSF/include/SFSE/Impl/Stubs.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace SFSE
{
using PluginHandle = std::uint32_t;

enum : PluginHandle
{
kInvalidPluginHandle = static_cast<PluginHandle>(-1)
Expand All @@ -22,6 +21,7 @@ namespace SFSE
{
std::uint32_t sfseVersion;
std::uint32_t runtimeVersion;
std::uint32_t interfaceVersion;
void* (*QueryInterface)(std::uint32_t);
PluginHandle (*GetPluginHandle)();
const void* (*GetPluginInfo)(const char*);
Expand All @@ -40,5 +40,5 @@ namespace SFSE
void* (*AllocateFromBranchPool)(PluginHandle, std::size_t);
void* (*AllocateFromLocalPool)(PluginHandle, std::size_t);
};
} // namespace detail
} // namespace SFSE
}
}

0 comments on commit 543ef4f

Please sign in to comment.