added hcl_unmarshalcodefrommem() and hcl_marshalcodetomem()
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-12-30 22:28:04 +09:00
parent 007a6c6b48
commit caebe2c5a9
4 changed files with 96 additions and 8 deletions

View File

@ -2357,7 +2357,7 @@ HCL_EXPORT int hcl_compile (
);
#endif
int hcl_addliteral (
int hcl_addliteraltocode (
hcl_t* hcl,
hcl_code_t* code,
hcl_oop_t obj,
@ -2374,7 +2374,7 @@ int hcl_brewcode (
* The hcl_purgecode() function cleans up the data held in memory
* pointed to by \a code.
*/
HCL_EXPORT int hcl_purgecode (
HCL_EXPORT void hcl_purgecode (
hcl_t* hcl,
hcl_code_t* code
);