Go to the source code of this file.
Define Documentation
#define ROW_MAJOR_IDX |
( |
|
R, |
|
|
|
C, |
|
|
|
NCOL | |
|
) |
| | ((R)*(NCOL) + (C)) |
Function Documentation
char* constructFileName |
( |
char * |
basedir, |
|
|
char * |
filename | |
|
) |
| | |
int endsWith |
( |
char * |
string, |
|
|
char * |
ending | |
|
) |
| | |
char* getLibraryVersion |
( |
|
) |
|
int longestName |
( |
char * |
filenames[], |
|
|
int |
nFiles | |
|
) |
| | |
int lowerStrNCmp |
( |
const char * |
str1, |
|
|
const char * |
str2, |
|
|
int |
n | |
|
) |
| | |
Compare two string up to n characters. Comparison is done with lowercase version of each string.
- Parameters:
-
[in] | str1 | A string to compare. |
[in] | str2 | Another string to compare. |
[in] | n | maximum number of characters to compare. |
- Returns:
- TRUE if strings are equal; FALSE otherwise.
stringTokenizer and nextToken work together to parse a character string into tokens, separated by spaces. nextToken finds the next set of non-white space characters, which is considered a token.
- Returns:
- The next token in the string or NULL if there are no more tokens.
void stringTokenizer |
( |
char * |
line |
) |
|
stringTokenizer and nextToken work together to parse a character string into tokens, separated by spaces. stringTokenizer intializes variables for breaking a string into tokens.
- Parameters:
-
[in] | line | The string to break into words. |
void td_free |
( |
void * |
mem, |
|
|
size_t |
size | |
|
) |
| | |
char* td_malloc |
( |
size_t |
size |
) |
|