SDL Visual Test
|
Functions | |
char ** | SDLVisualTest_Tokenize (char *str, int max_token_len) |
char ** | SDLVisualTest_ParseArgsToArgv (char *args) |
Source file with some helper functions for parsing strings.
char** SDLVisualTest_ParseArgsToArgv | ( | char * | args) |
Takes an string of command line arguments and breaks them up into an array based on whitespace.
args | The string of arguments. |
char** SDLVisualTest_Tokenize | ( | char * | str, |
int | max_token_len | ||
) |
Takes a string and breaks it into tokens by splitting on whitespace.
str | The string to be split. |
max_token_len | Length of each element in the array to be returned. |