meta: rename to fx

This commit is contained in:
2026-03-16 10:35:43 +00:00
parent 84df46489a
commit e9d0e323f0
233 changed files with 12875 additions and 12869 deletions

View File

@@ -1,46 +1,46 @@
#include <blue/serial/bitcode.h>
#include <blue/serial/ctx.h>
#include <fx/serial/bitcode.h>
#include <fx/serial/ctx.h>
/*** VIRTUAL FUNCTIONS ********************************************************/
static enum b_status bitcode_serialise(
b_serial_ctx *serial, b_object *src, b_stream *dest,
enum b_serial_flags flags)
static enum fx_status bitcode_serialise(
fx_serial_ctx *serial, fx_object *src, fx_stream *dest,
enum fx_serial_flags flags)
{
return B_ERR_NOT_SUPPORTED;
return FX_ERR_NOT_SUPPORTED;
}
static enum b_status bitcode_deserialise(
b_serial_ctx *serial, b_stream *src, b_object **dest,
enum b_serial_flags flags)
static enum fx_status bitcode_deserialise(
fx_serial_ctx *serial, fx_stream *src, fx_object **dest,
enum fx_serial_flags flags)
{
return B_ERR_NOT_SUPPORTED;
return FX_ERR_NOT_SUPPORTED;
}
static void bitcode_serial_ctx_init(b_object *obj, void *priv)
static void bitcode_serial_ctx_init(fx_object *obj, void *priv)
{
}
static void bitcode_serial_ctx_fini(b_object *obj, void *priv)
static void bitcode_serial_ctx_fini(fx_object *obj, void *priv)
{
}
/*** CLASS DEFINITION *********************************************************/
B_TYPE_CLASS_DEFINITION_BEGIN(b_bitcode_serial_ctx)
B_TYPE_CLASS_INTERFACE_BEGIN(b_object, B_TYPE_OBJECT)
B_INTERFACE_ENTRY(to_string) = NULL;
B_TYPE_CLASS_INTERFACE_END(b_object, B_TYPE_OBJECT)
FX_TYPE_CLASS_DEFINITION_BEGIN(fx_bitcode_serial_ctx)
FX_TYPE_CLASS_INTERFACE_BEGIN(fx_object, FX_TYPE_OBJECT)
FX_INTERFACE_ENTRY(to_string) = NULL;
FX_TYPE_CLASS_INTERFACE_END(fx_object, FX_TYPE_OBJECT)
B_TYPE_CLASS_INTERFACE_BEGIN(b_serial_ctx, B_TYPE_SERIAL_CTX)
B_INTERFACE_ENTRY(s_serialise) = bitcode_serialise;
B_INTERFACE_ENTRY(s_deserialise) = bitcode_deserialise;
B_TYPE_CLASS_INTERFACE_END(b_serial_ctx, B_TYPE_SERIAL_CTX)
B_TYPE_CLASS_DEFINITION_END(b_bitcode_serial_ctx)
FX_TYPE_CLASS_INTERFACE_BEGIN(fx_serial_ctx, FX_TYPE_SERIAL_CTX)
FX_INTERFACE_ENTRY(s_serialise) = bitcode_serialise;
FX_INTERFACE_ENTRY(s_deserialise) = bitcode_deserialise;
FX_TYPE_CLASS_INTERFACE_END(fx_serial_ctx, FX_TYPE_SERIAL_CTX)
FX_TYPE_CLASS_DEFINITION_END(fx_bitcode_serial_ctx)
B_TYPE_DEFINITION_BEGIN(b_bitcode_serial_ctx)
B_TYPE_ID(0xcdc8c462, 0xf2b3, 0x4193, 0x8cae, 0xc1e5ad9afcb8);
B_TYPE_CLASS(b_bitcode_serial_ctx_class);
B_TYPE_INSTANCE_INIT(bitcode_serial_ctx_init);
B_TYPE_INSTANCE_FINI(bitcode_serial_ctx_fini);
B_TYPE_DEFINITION_END(b_bitcode_serial_ctx)
FX_TYPE_DEFINITION_BEGIN(fx_bitcode_serial_ctx)
FX_TYPE_ID(0xcdc8c462, 0xf2b3, 0x4193, 0x8cae, 0xc1e5ad9afcb8);
FX_TYPE_CLASS(fx_bitcode_serial_ctx_class);
FX_TYPE_INSTANCE_INIT(bitcode_serial_ctx_init);
FX_TYPE_INSTANCE_FINI(bitcode_serial_ctx_fini);
FX_TYPE_DEFINITION_END(fx_bitcode_serial_ctx)