Fix bug with enum class in event

This commit is contained in:
Georg Hagen
2025-07-08 22:36:22 +02:00
parent d81d6ddeef
commit 0ee574e8ee
2 changed files with 5 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ namespace OpenVulkano
{ std::type_index(typeid(std::string)), @encode(NSString*) },
{ std::type_index(typeid(bool)), @encode(BOOL) },
{ std::type_index(typeid(int)), @encode(int) },
{ std::type_index(typeid(uint32_t)), @encode(uint32_t) },
{ std::type_index(typeid(float)), @encode(float) },
{ std::type_index(typeid(double)), @encode(double) },
{ std::type_index(typeid(UUID)), @encode(NSUUID*) }
@@ -35,6 +36,7 @@ namespace OpenVulkano
NSString* string;
BOOL boolean;
int integer;
uint32_t uinteger;
float fp32;
double fp64;
NSUUID* uuid;