diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2024-01-05 08:59:39 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2024-01-05 08:59:39 -0500 |
| commit | 3aa95ba29a779d695c2a16905c651be768231212 (patch) | |
| tree | a313a17f993e16c2e8bbfa8aab8e84733b0a8844 /src/plugins.hpp | |
| parent | dcd4af5fa684a7e7ad2a49fa72450d3115dc0d80 (diff) | |
entity types save and load appropriately again
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'}; |
