static SRL_INLINE PTABLE_t * srl_init_ref_hash(srl_encoder_t *enc) { enc->ref_seenhash = PTABLE_new_size(4); return enc->ref_seenhash; }
static SRL_INLINE PTABLE_t * srl_init_weak_hash(srl_encoder_t *enc) { enc->weak_seenhash = PTABLE_new_size(3); return enc->weak_seenhash; }
SRL_STATIC_INLINE PTABLE_t * srl_init_string_hash(srl_encoder_t *enc) { enc->str_seenhash = PTABLE_new_size(4); return enc->str_seenhash; }