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
+1 -1
View File
@@ -12,7 +12,7 @@ FX_DECLARE_TYPE(fx_bitcode_serial_ctx);
FX_TYPE_CLASS_DECLARATION_BEGIN(fx_bitcode_serial_ctx)
FX_TYPE_CLASS_DECLARATION_END(fx_bitcode_serial_ctx)
FX_API fx_type fx_bitcode_serial_ctx_get_type(void);
FX_API fx_type_id fx_bitcode_serial_ctx_get_type(void);
FX_TYPE_DEFAULT_CONSTRUCTOR(fx_bitcode_serial_ctx, FX_TYPE_BITCODE_SERIAL_CTX);
+1 -1
View File
@@ -35,7 +35,7 @@ typedef struct fx_serial_ctx_data {
fx_stream_buffer *ctx_streambuf;
} fx_serial_ctx_data;
FX_API fx_type fx_serial_ctx_get_type(void);
FX_API fx_type_id fx_serial_ctx_get_type(void);
FX_API fx_result fx_serial_ctx_serialise(
fx_serial_ctx *ctx,
+1 -1
View File
@@ -12,7 +12,7 @@ FX_DECLARE_TYPE(fx_toml_serial_ctx);
FX_TYPE_CLASS_DECLARATION_BEGIN(fx_toml_serial_ctx)
FX_TYPE_CLASS_DECLARATION_END(fx_toml_serial_ctx)
FX_API fx_type fx_toml_serial_ctx_get_type(void);
FX_API fx_type_id fx_toml_serial_ctx_get_type(void);
FX_TYPE_DEFAULT_CONSTRUCTOR(fx_toml_serial_ctx, FX_TYPE_TOML_SERIAL_CTX);