embedding NamedTuple

How to create NamedTuple from C? Considering parameters const char * names and value_t * elements. Or at least getting the type of to use with jl_new_structv.