mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 13:29:41 -07:00
hash table helper
This commit is contained in:
1 parent
dfd6950ff3
commit
4e775d5b6c
2 files changed
+24
-7
No files matched your search
@@ -199,6 +199,20 @@ hash_table_search_path(HashTable *ht, String8 path)
|
||||
return result;
|
||||
}
|
||||
|
||||
internal void *
|
||||
hash_table_search_path_raw(HashTable *ht, String8 path)
|
||||
{
|
||||
KeyValuePair *kv = hash_table_search_path(ht, path);
|
||||
return kv ? kv->value_raw : 0;
|
||||
}
|
||||
|
||||
internal void *
|
||||
hash_table_(HashTable *ht, String8 path)
|
||||
{
|
||||
KeyValuePair *result = hash_table_search_path(ht, path);
|
||||
return result ? result->value_raw : 0;
|
||||
}
|
||||
|
||||
internal B32
|
||||
hash_table_search_path_u64(HashTable *ht, String8 key, U64 *value_out)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user