added a way to create an empty string
This commit is contained in:
parent
7f0120f0c8
commit
80331b5c34
2 changed files with 19 additions and 0 deletions
|
|
@ -33,6 +33,14 @@ void ARC_String_Create(ARC_String **string, char *data, uint64_t length);
|
|||
*/
|
||||
void ARC_String_CreateWithStrlen(ARC_String **string, char *data);
|
||||
|
||||
/**
|
||||
* @brief creates an empty ARC_String type, useful if you want to add to the string over time without having to keep adding to the size
|
||||
*
|
||||
* @param string ARC_String to create
|
||||
* @param length length of ARC_String
|
||||
*/
|
||||
void ARC_String_CreateEmpty(ARC_String **string, uint64_t length);
|
||||
|
||||
/**
|
||||
* @brief destroys ARC_String type
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue