conversion to c by gemini 4 argon
This commit is contained in:
1 parent
b70e2d21d2
commit
f9356f9ba7
369 files changed
+18074
-107634
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#include <Entity/entity_common.h>
|
||||
|
||||
#include <Entity/Entity.h>
|
||||
#include <Entity/entity_types.h>
|
||||
|
||||
// clang-format off
|
||||
#define AS_STR(name) #name
|
||||
const char* kEntity_type_names[] = {
|
||||
ENTITY_TYPE_LIST(AS_STR)
|
||||
"Count"
|
||||
};
|
||||
#undef AS_STR
|
||||
|
||||
#define AS_CLASS(name) &class_kind_##name
|
||||
const Class* kEntity_type_class_ptr[] = {
|
||||
ENTITY_TYPE_LIST(AS_CLASS)
|
||||
NULL
|
||||
};
|
||||
#undef AS_CLASS
|
||||
// clang-format on
|
||||
Reference in new issue
Block a user