xcbase module).
More...Defines | |
| #define | LEXICAL_FILE_COMMENT '#' |
| Character which, when it starts a line, introduces a comment. | |
Functions | |
| GString * | g_string_CleanSpaces (GString *string, int(*is_space)(int)) |
| int | readFileEntry (FILE *file, GString *string) |
xcbase module).
SlpTK Library 0.6.0
<utils.h> Antonin Merçay (revision on 19.11.2004)
| GString * g_string_CleanSpaces | ( | GString * | string, | |
| int(*)(int) | is_space | |||
| ) |
Clean a character string, i.e. remove the white spaces from both ends of the string and reduce to one space character (' ', 32) any other white char succession.
| [in] | string | The string to treat |
| [in] | is_space | The function that determines which characters are white spaces |
Clean_Spaces (former XCString module) | int readFileEntry | ( | FILE * | file, | |
| GString * | string | |||
| ) |
Read a lexical entry (line) from a textual file. The commentary lines, i.e. that start with one LEXICAL_FILE_COMMENT character, are skipped.
| [in] | file | The file to read |
| [in] | string | The string where to store the lexical entry |
Fichier_Importe_Une_Entree_Lexico (former arbrelex module)
1.4.7