rlmesh_dict_new
Dict(spaces): copies each spec into a fresh child space; the keys sort at construction. Duplicate or empty keys are RLMESH_ERR_INVALID_ARGUMENT. Lend a space's spec with rlmesh_space_spec().
RLMeshStatus rlmesh_dict_new(
const RLMeshStr* spaces_keys,
const RLMeshSpaceSpec* const* spaces,
size_t spaces_len,
RLMeshDict** out
)