fx: re-arrange type system to allow for reflection

This commit is contained in:
2026-05-05 19:03:22 +01:00
parent 8c12868651
commit 90a3905f48
83 changed files with 768 additions and 842 deletions
+4 -3
View File
@@ -5,14 +5,15 @@
#include <fx/misc.h>
#include <stdint.h>
struct fx_type_registration;
struct fx_type_info;
struct _fx_class {
uint64_t c_magic;
const struct fx_type_registration *c_type;
const struct fx_type_info *c_type;
};
extern fx_result fx_class_instantiate(
struct fx_type_registration *type, struct _fx_class **out);
struct fx_type_info *type,
struct _fx_class **out);
#endif