![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
String handling. More...
![]() |
Functions | |
int | oyStringAddPrintf (char **string, oyAlloc_f alloc, oyDeAlloc_f deAlloc, const char *format,...) |
Append a string and handle memory. More... | |
char ** | oyStringSplit (const char *text, const char delimiter, int *count, oyAlloc_f allocateFunc) |
Create a array of strings. More... | |
void | oyStringListRelease (char ***l, int size, oyDeAlloc_f deallocFunc) |
Release a array of strings. More... | |
char * | oyStringCopy (const char *text, oyAlloc_f allocateFunc) |
Copy with allocator. More... | |
String handling.
These functions prefere Oyranos oyAllocateFunc_ and oyDeAllocateFunc_ over plain malloc/free. They are wrappers around the libOyjlCore equivalents.
int oyStringAddPrintf | ( | char ** | string, |
oyAlloc_f | alloc, | ||
oyDeAlloc_f | deAlloc, | ||
const char * | format, | ||
... | |||
) |
Append a string and handle memory.
char* oyStringCopy | ( | const char * | text, |
oyAlloc_f | allocateFunc | ||
) |
Copy with allocator.
References oyjlStringCopy().
void oyStringListRelease | ( | char *** | l, |
int | size, | ||
oyDeAlloc_f | deallocFunc | ||
) |
Release a array of strings.
References oyjlStringListRelease().
char** oyStringSplit | ( | const char * | text, |
const char | delimiter, | ||
int * | count, | ||
oyAlloc_f | allocateFunc | ||
) |
Create a array of strings.
References oyjlStringSplit().