krk_findEntry should not be exposed

This commit is contained in:
K. Lange 2024-02-15 12:00:26 +09:00
parent fbf1b09514
commit 2fd88b8219

View File

@ -152,21 +152,6 @@ extern int krk_tableDelete(KrkTable * table, KrkValue key);
*/
extern int krk_tableDeleteExact(KrkTable * table, KrkValue key);
/**
* @brief Internal table scan function.
* @memberof KrkTable
*
* Scans through the the entry array 'entries' to find the appropriate entry
* for 'key', return a pointer to the entry, which may be or may not have
* an associated pair.
*
* @param entries Table entry array to scan.
* @param capacity Size of the table entry array, in entries.
* @param key Key to locate.
* @return A pointer to the entry for 'key'.
*/
extern KrkTableEntry * krk_findEntry(KrkTableEntry * entries, size_t capacity, KrkValue key);
/**
* @brief Calculate the hash for a value.
* @memberof KrkValue