mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-05-07 01:10:11 +10:00
Corrected usage of 'Toy_allocateTable'
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ typedef struct Toy_Table { //32 | 64 BITNESS
|
||||
Toy_TableEntry data[]; //- | -
|
||||
} Toy_Table; //12 | 12
|
||||
|
||||
TOY_API Toy_Table* Toy_allocateTable(void);
|
||||
TOY_API Toy_Table* Toy_allocateTable(unsigned int minCapacity); //minCapacity of 0 uses the default
|
||||
TOY_API void Toy_freeTable(Toy_Table* table);
|
||||
TOY_API void Toy_insertTable(Toy_Table** tableHandle, Toy_Value key, Toy_Value value);
|
||||
TOY_API Toy_Value Toy_lookupTable(Toy_Table** tableHandle, Toy_Value key);
|
||||
|
||||
Reference in New Issue
Block a user