added the make_charaarray instruction and pop_into_chararray insruction
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-15 11:51:11 +09:00
parent ed33ca2196
commit a3e2b589be
10 changed files with 229 additions and 47 deletions

View File

@ -1721,6 +1721,7 @@ struct hcl_t
hcl_oop_class_t c_byte_string; /* String */
hcl_oop_class_t c_symbol; /* Symbol */
hcl_oop_class_t c_array; /* Array */
hcl_oop_class_t c_character_array; /* CharacterArray */
hcl_oop_class_t c_byte_array; /* ByteArray */
hcl_oop_class_t c_symtab; /* SymbolTable */
hcl_oop_class_t c_dictionary;
@ -2010,6 +2011,7 @@ enum hcl_brand_t
HCL_BRAND_CONS,
HCL_BRAND_ARRAY,
HCL_BRAND_BYTE_ARRAY,
HCL_BRAND_CHARACTER_ARRAY,
HCL_BRAND_SYMBOL,
HCL_BRAND_STRING,
HCL_BRAND_BYTE_STRING,
@ -2897,6 +2899,12 @@ HCL_EXPORT hcl_oop_t hcl_makearray (
hcl_oow_t len
);
HCL_EXPORT hcl_oop_t hcl_makechararray (
hcl_t* hcl,
const hcl_ooch_t* ptr,
hcl_oow_t len
);
HCL_EXPORT hcl_oop_t hcl_makebytearray (
hcl_t* hcl,
const hcl_oob_t* ptr,