Add vtype/vnode macro

This commit is contained in:
2022-06-08 10:54:50 +03:00
parent d222d9420d
commit 01a62cfaf3
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -79,6 +79,9 @@ ainline(val_t* value_set(val_t* d, void* ptr, vtype type, int flags)) {
extern int libcdsb_vtype_compare_values(const void* s0, vtype t0, const void* s1, vtype t1);
extern int libcdsb_vtype_compare_values_eq(const void* s0, const void* s1, vtype t);
#define vtype_stringify libcdsb_vtype_stringify
#define vtype_name libcdsb_vtype_name
#define vtype_compare libcdsb_vtype_compare_values
#define vtype_compare_eq libcdsb_vtype_compare_values_eq