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

@ -470,6 +470,23 @@ typedef struct hcl_bcs_t hcl_bcs_t;
# define HCL_SIZEOF_OOCH_T HCL_SIZEOF_BCH_T
#endif
typedef struct hcl_ptl_t hcl_ptl_t;
struct hcl_ptl_t
{
void* ptr;
hcl_oow_t len;
};
typedef struct hcl_ptlc_t hcl_ptlc_t;
struct hcl_ptlc_t
{
void* ptr;
hcl_oow_t len;
hcl_oow_t capa;
};
typedef unsigned int hcl_bitmask_t;
typedef unsigned int hcl_bitmask_t;
/* =========================================================================