From 3aa95ba29a779d695c2a16905c651be768231212 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Fri, 5 Jan 2024 08:59:39 -0500 Subject: entity types save and load appropriately again --- src/plugins.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins.hpp') 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'}; -- cgit v1.2.3