rax_type_new_1

rax_type_t rax_type_new_1(e_rax_base_t base_type);
 

Create a new Rax type. This function can be used for creating simple types: boolean, number, real, string, time, absolute and relative. For strings and sets, use the functions below.

Example: 

    rax_type_t number_type = rax_type_new_1(rax_e_base_number);