18 #ifndef LBM_FLAT_VALUE_H_
19 #define LBM_FLAT_VALUE_H_
32 #define S_SYM_VALUE 0x2
33 #define S_SYM_STRING 0x3
34 #define S_BYTE_VALUE 0x4
37 #define S_I32_VALUE 0x7
38 #define S_U32_VALUE 0x8
39 #define S_FLOAT_VALUE 0x9
40 #define S_I64_VALUE 0xA
41 #define S_U64_VALUE 0xB
42 #define S_DOUBLE_VALUE 0xC
43 #define S_LBM_ARRAY 0xD
46 #define FLATTEN_VALUE_MAXIMUM_DEPTH 2000
48 #define FLATTEN_VALUE_OK 0
49 #define FLATTEN_VALUE_ERROR_CANNOT_BE_FLATTENED -1
50 #define FLATTEN_VALUE_ERROR_BUFFER_TOO_SMALL -2
51 #define FLATTEN_VALUE_ERROR_ARRAY -3
52 #define FLATTEN_VALUE_ERROR_CIRCULAR -4
53 #define FLATTEN_VALUE_ERROR_MAXIMUM_DEPTH -5
54 #define FLATTEN_VALUE_ERROR_NOT_ENOUGH_MEMORY -6
55 #define FLATTEN_VALUE_ERROR_FATAL -7
72 void lbm_set_max_flatten_depth(
int depth);
uint32_t lbm_value
Definition: lbm_types.h:43
Definition: lbm_flat_value.h:25