18bool string_pop(
string_t* self,
char* destination)
24bool string_pop_n(
string_t* self,
char* destination,
size_t count)
32 if (count > string_length(self))
34 string_t result = string_from(string_get(self, string_length(self) - count), count);
40bool string_pop_front(
string_t* self,
char* destination)
46bool string_pop_front_n(
string_t* self,
char* destination,
size_t count)
bool array_pop_back_n(array_t *self, void *destination, size_t count)
Moves to destination the n last elements of the array.
bool array_pop_back(array_t *self, void *destination)
Moves to destination the last element of the array.
bool array_pop_front(array_t *self, void *destination)
Moves to destination the first element of self.
bool array_pop_front_n(array_t *self, void *destination, size_t count)
Moves to destination the count first elements of self.
Dynamic string implementation.
string_t string_new(void)
Constructs an empty string.
array_t string_t
A string is an array of char.