diff options
Diffstat (limited to 'src/plugins.hpp')
| -rw-r--r-- | src/plugins.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins.hpp b/src/plugins.hpp index 64c19f0..a474750 100644 --- a/src/plugins.hpp +++ b/src/plugins.hpp @@ -13,7 +13,8 @@ struct PKEPluginInterface { void (*OnImGuiRender)() = nullptr; }; -using CallbackSignature = char[16]; +constexpr int64_t CallbackSignatureLength = 16; +using CallbackSignature = char[CallbackSignatureLength]; struct PkeCallback { // the 16 char signature(name) of a function CallbackSignature name = {'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'}; |
