added HIO_UECS_CS() and HIO_BECS_CS()
This commit is contained in:
parent
f1ea810394
commit
397a395a3e
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
/** string pointer and length as a aggregate */
|
/** string pointer and length as a aggregate */
|
||||||
#define HIO_BECS_BCS(s) (&((s)->val))
|
#define HIO_BECS_BCS(s) (&((s)->val))
|
||||||
|
#define HIO_BECS_CS(s) (&((s)->val))
|
||||||
/** string length */
|
/** string length */
|
||||||
#define HIO_BECS_LEN(s) ((s)->val.len)
|
#define HIO_BECS_LEN(s) ((s)->val.len)
|
||||||
/** string pointer */
|
/** string pointer */
|
||||||
@ -45,6 +46,7 @@
|
|||||||
|
|
||||||
/** string pointer and length as a aggregate */
|
/** string pointer and length as a aggregate */
|
||||||
#define HIO_UECS_UCS(s) (&((s)->val))
|
#define HIO_UECS_UCS(s) (&((s)->val))
|
||||||
|
#define HIO_UECS_CS(s ) (&((s)->val))
|
||||||
/** string length */
|
/** string length */
|
||||||
#define HIO_UECS_LEN(s) ((s)->val.len)
|
#define HIO_UECS_LEN(s) ((s)->val.len)
|
||||||
/** string pointer */
|
/** string pointer */
|
||||||
|
Loading…
Reference in New Issue
Block a user