experimenting udi implementation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
12
lib/hcl.h
12
lib/hcl.h
@ -1318,7 +1318,7 @@ struct hcl_io_udiarg_t
|
||||
void* handle;
|
||||
|
||||
/**
|
||||
* [OUT] place data here for #HCL_IO_READ
|
||||
* [OUT] place data in c for #HCL_IO_READ and in d for #HCL_IO_READ_BYTES
|
||||
*/
|
||||
union {
|
||||
hcl_ooch_t c[2048]; /* TODO: resize this if necessary */
|
||||
@ -1330,6 +1330,12 @@ struct hcl_io_udiarg_t
|
||||
* #HCL_IO_READ or #HCL_IO_READ_BYTES
|
||||
*/
|
||||
hcl_oow_t xlen;
|
||||
|
||||
/**
|
||||
* Internal use only. Don't touch these.
|
||||
*/
|
||||
hcl_oow_t pos;
|
||||
int is_byte;
|
||||
};
|
||||
|
||||
typedef struct hcl_io_udoarg_t hcl_io_udoarg_t;
|
||||
@ -2568,10 +2574,6 @@ HCL_EXPORT void hcl_clearcode (
|
||||
hcl_t* hcl
|
||||
);
|
||||
|
||||
HCL_EXPORT void hcl_clearfnblks (
|
||||
hcl_t* hcl
|
||||
);
|
||||
|
||||
#if defined(HCL_HAVE_INLINE)
|
||||
static HCL_INLINE hcl_code_t* hcl_getcode (hcl_t* hcl) { return &hcl->code; }
|
||||
static HCL_INLINE hcl_oob_t* hcl_getbcptr (hcl_t* hcl) { return hcl->code.bc.ptr; }
|
||||
|
Reference in New Issue
Block a user