48 v->
as.
i64 = *(int64_t *)payload;
51 v->
as.
f64 = *(
double *)payload;
60 PANIC(
"Not implemented");
62 PANIC(
"Not implemented");
82 PANIC(
"Should never happen");
srn_value_t * srn_value_make(srn_context_t *ctx, srn_value_tag_t tag, srn_metadata_t *metadata, void *payload)
Creates a new serene value.
static srn_value_t false_v
@ VError
VError should be last.
static srn_value_t true_v
enum srn_value_tag_e srn_value_tag_t
Since all the values are immutable and persistent.
A persistent, immutable map.
A persistent, immutable, indexed sequence.
srn_metadata_t * metadata
int64_t i64
We represent all the immidiate numbers with this field and cast as we to an appropriate type.
union srn_value_t::@033047061046230251001111174367071167226300135003 as
IMPORTANT NOTE: The size of this union should never be larger than a word.
#define PANIC_IF_NULL(ptr)