25 #include <citrusleaf/cf_atomic.h>
56 typedef struct as_val_s {
90 #define as_val_type(__v) (__v ? ((as_val *)__v)->type : AS_UNDEF)
99 #define as_val_reserve(__v) ( as_val_val_reserve((as_val *)__v) )
109 #define as_val_destroy(__v) ( as_val_val_destroy((as_val *)__v) )
118 #define as_val_hashcode(__v) ( as_val_val_hashcode((as_val *)__v) )
127 #define as_val_tostring(__v) ( as_val_val_tostring((as_val *)__v) )
183 if ( !val )
return val;
as_val * as_val_cons(as_val *val, as_val_t type, bool free)
struct cf_average_s __attribute__
as_val * as_val_val_reserve(as_val *)
void as_val_init(as_val *v, as_val_t type, bool free)
uint32_t as_val_val_hashcode(const as_val *)
char * as_val_val_tostring(const as_val *)
as_val * as_val_val_destroy(as_val *)