Fix bug with enum class in event
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user