| 447 | } |
| 448 | |
| 449 | static size_t getTotalTableSize(FileNamesTable* table) |
| 450 | { |
| 451 | size_t fnb = 0, totalSize = 0; |
| 452 | for(fnb = 0 ; fnb < table->tableSize && table->fileNames[fnb] ; ++fnb) { |
| 453 | totalSize += strlen(table->fileNames[fnb]) + 1; /* +1 to add '\0' at the end of each fileName */ |
| 454 | } |
| 455 | return totalSize; |
| 456 | } |
| 457 | |
| 458 | FileNamesTable* |
| 459 | UTIL_mergeFileNamesTable(FileNamesTable* table1, FileNamesTable* table2) |
no outgoing calls
no test coverage detected