MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / bm_InitHashTable

Function bm_InitHashTable

bitmap/bitmain.cpp:344–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342static int bm_TestName(const char *src);
343
344void bm_InitHashTable() {
345 bm_hashTable = (bm_Node **)mem_malloc(bm_hashTableSize * sizeof(bm_Node *));
346 for (int a = 0; a < bm_hashTableSize; a++) {
347 bm_hashTable[a] = NULL;
348 }
349}
350void bm_DeleteHashTable() {
351 if (bm_hashTable) {
352 int idx;

Callers 1

bm_InitBitmapsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected