| 430 | } |
| 431 | |
| 432 | FileNamesTable* UTIL_allocateFileNamesTable(size_t tableSize) |
| 433 | { |
| 434 | const char** const fnTable = (const char**)malloc(tableSize * sizeof(*fnTable)); |
| 435 | FileNamesTable* fnt; |
| 436 | if (fnTable==NULL) return NULL; |
| 437 | fnt = UTIL_assembleFileNamesTable(fnTable, tableSize, NULL); |
| 438 | fnt->tableSize = 0; /* the table is empty */ |
| 439 | return fnt; |
| 440 | } |
| 441 | |
| 442 | void UTIL_refFilename(FileNamesTable* fnt, const char* filename) |
| 443 | { |
no test coverage detected