1#ifndef JUNO_STRING_API_H
2#define JUNO_STRING_API_H
void(* JUNO_FAILURE_HANDLER_T)(JUNO_STATUS_T tStatus, const char *pcCustomMessage, JUNO_USER_DATA_T *pvUserData)
Definition status.h:26
enum JUNO_STATUS_TAG JUNO_STATUS_T
void JUNO_USER_DATA_T
Definition status.h:25
Definition string_api.h:14
JUNO_STATUS_T(* Concat)(JUNO_STRING_T *ptString1, JUNO_STRING_T *ptString2)
Definition string_api.h:45
JUNO_STATUS_T(* Free)(JUNO_STRING_T *ptString)
Frees resources associated with the JUNO string.
Definition string_api.h:55
JUNO_STATUS_T(* Init)(JUNO_STRING_T *ptString, JUNO_MEMORY_ALLOC_T *ptAlloc, const char *pcStr, size_t zLen, JUNO_FAILURE_HANDLER_T pfcnFailureHandler, JUNO_USER_DATA_T *pvUserData)
Creates a JUNO string from a C string.
Definition string_api.h:23
JUNO_STATUS_T(* Append)(JUNO_STRING_T *ptString, const char *pcCstr, size_t zLen)
Definition string_api.h:51
JUNO_STATUS_T(* SetAlloc)(JUNO_STRING_T *ptString, JUNO_MEMORY_ALLOC_T *ptAlloc)
Sets a new memory allocator for a JUNO string.
Definition string_api.h:35
JUNO_STATUS_T(* Length)(JUNO_STRING_T *ptString, size_t *pzRetSize)
Retrieves the size of the JUNO string.
Definition string_api.h:40
Definition string_types.h:17
Union for a generic memory allocation. Accommodates various allocation types, currently including blo...
Definition memory_types.h:89