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,37 +1,37 @@
#include <blue/core/stream.h>
#include <blue/ds/array.h>
#include <blue/ds/dict.h>
#include <blue/ds/number.h>
#include <blue/ds/string.h>
#include <blue/serial.h>
#include <fx/core/stream.h>
#include <fx/ds/array.h>
#include <fx/ds/dict.h>
#include <fx/ds/number.h>
#include <fx/ds/string.h>
#include <fx/serial.h>
#include <stdio.h>
int main(void)
{
b_serial_ctx *ctx = b_toml_serial_ctx_create();
fx_serial_ctx *ctx = fx_toml_serial_ctx_create();
b_dict *dict = b_dict_create();
fx_dict *dict = fx_dict_create();
b_array *array = b_array_create();
b_array_append(array, B_RV_INT(32));
b_array_append(array, B_RV_INT(64));
b_array_append(array, B_RV_INT(128));
fx_array *array = fx_array_create();
fx_array_append(array, FX_RV_INT(32));
fx_array_append(array, FX_RV_INT(64));
fx_array_append(array, FX_RV_INT(128));
b_dict_put(dict, "numbers", B_RV(array));
fx_dict_put(dict, "numbers", FX_RV(array));
array = b_array_create();
b_array_append(array, B_RV_CSTR("hello"));
b_array_append(array, B_RV_CSTR("world"));
array = fx_array_create();
fx_array_append(array, FX_RV_CSTR("hello"));
fx_array_append(array, FX_RV_CSTR("world"));
b_dict_put(dict, "strings", B_RV(array));
fx_dict_put(dict, "strings", FX_RV(array));
b_object_to_string(dict, b_stdout);
b_stream_write_char(b_stdout, '\n');
fx_object_to_string(dict, fx_stdout);
fx_stream_write_char(fx_stdout, '\n');
b_serial_ctx_serialise(ctx, dict, b_stdout, 0);
fx_serial_ctx_serialise(ctx, dict, fx_stdout, 0);
b_dict_unref(dict);
b_serial_ctx_unref(ctx);
fx_dict_unref(dict);
fx_serial_ctx_unref(ctx);
return 0;
}