27#ifndef JUNO_STRING_API_H
28#define JUNO_STRING_API_H
union JUNO_MEMORY_ALLOC_TAG JUNO_MEMORY_ALLOC_T
Definition memory_api.h:76
#define JUNO_MODULE_ROOT(API_T, members)
Definition module.h:175
enum JUNO_STATUS_TAG JUNO_STATUS_T
struct JUNO_STRING_BUFFER_TAG JUNO_STRING_BUFFER_T
Definition string_api.h:38
struct JUNO_STRING_ROOT_TAG JUNO_STRING_ROOT_T
Definition string_api.h:41
union JUNO_STRING_TAG JUNO_STRING_T
Definition string_api.h:40
Structure for an allocated memory segment. Describes the allocated memory with a pointer to the start...
Definition memory_api.h:65
Definition string_api.h:51
JUNO_STATUS_T(* AppendCStr)(JUNO_STRING_T *ptJunoString, const char *pcCStr, size_t zCStrSize)
Definition string_api.h:55
JUNO_STATUS_T(* Init)(JUNO_STRING_T *ptJunoString, JUNO_MEMORY_ALLOC_T *ptAlloc, const char *pcCStr, size_t zCStrSize)
Initializes the module and resources for juno_string.
Definition string_api.h:53
JUNO_STATUS_T(* Append)(JUNO_STRING_T *ptJunoString, JUNO_STRING_T *ptNewJunoString)
Definition string_api.h:54
JUNO_STATUS_T(* GetSize)(JUNO_STRING_T *ptJunoString, size_t *pzSize)
Definition string_api.h:56
JUNO_STATUS_T(* Free)(JUNO_STRING_T *ptJunoString)
Frees resources allocated by juno_string.
Definition string_api.h:58