aboutsummaryrefslogtreecommitdiff
path: root/msgpack.c
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2025-05-18 23:27:50 +0300
committerkartofen <mladenovnasko0@gmail.com>2025-05-18 23:27:50 +0300
commitbc87cea97a02af805e26b00d23c876be5fbfb0ca (patch)
tree519cfd3768fa248f9e4e2b7590b1a9b787767e56 /msgpack.c
parent9cc687c397beb936c7232aecf10f8906a495ab79 (diff)
build system upgrade
Diffstat (limited to 'msgpack.c')
-rw-r--r--msgpack.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/msgpack.c b/msgpack.c
index 07433b1..8cb63e5 100644
--- a/msgpack.c
+++ b/msgpack.c
@@ -6,7 +6,6 @@
// are needlessly complicated, not good
// handy macros for extra expansion
-#define _(...) __VA_ARGS__
#define _CALL(f, ...) f(__VA_ARGS__)
#define CAR(a, b) a
#define CDR(a, b) b
@@ -277,15 +276,10 @@ int msgpack_read_int (msgpack_t *pack, union mp_int *m) COMPOSE_FUNCTION(RE
int msgpack_read_float (msgpack_t *pack, union mp_float *m) COMPOSE_FUNCTION(READ, FLOAT)
int msgpack_read_raw (msgpack_t *pack, struct mp_bin *m) COMPOSE_FUNCTION(READ, RAW)
-// int msgpack_read_raw_cpy (msgpack_t *pack, struct mp_bin *m);
// int msgpack_read_ext (msgpack_t *pack, struct mp_bin *m) COMPOSE_FUNCTION(READ, EXT)
-// int msgpack_read_ext_cpy (msgpack_t *pack, struct mp_bin *m);
int msgpack_read_array (msgpack_t *pack, size_t *m) COMPOSE_FUNCTION(READ, ARRAY)
int msgpack_read_map (msgpack_t *pack, size_t *m) COMPOSE_FUNCTION(READ, MAP)
-// int msgpack_read_array2 (const msgpack_t *pack, struct mp_array *m);
-// int msgpack_read_map2 (const msgpack_t *pack, struct mp_map *m);
-
// int msgpack_write_nil (msgpack_t *pack);
int msgpack_write_bool (msgpack_t *pack, const bool *m) COMPOSE_FUNCTION(WRITE, BOOL)