- owner = new_type_class (id_from_str ("CONST_EVAL_EXAMPLE", 18));
- method = new_type_method (id_from_str("main", 4), 0, 2);
+ owner = new_type_class (new_id_from_chars ("CONST_EVAL_EXAMPLE", 18));
+ method = new_type_method (new_id_from_chars("main", 4), 0, 2);