mirror of
https://github.com/json-c/json-c.git
synced 2026-11-08 14:40:17 +08:00
Remove the previously deprecated lh_table_lookup() function, in favor of lh_table_lookup_ex().
This commit is contained in:
1 parent
f83cf244cd
commit
a19031411d
3 files changed
+1
-17
No files matched your search
@@ -621,13 +621,6 @@ struct lh_entry* lh_table_lookup_entry(struct lh_table *t, const void *k)
|
||||
return lh_table_lookup_entry_w_hash(t, k, lh_get_hash(t, k));
|
||||
}
|
||||
|
||||
const void* lh_table_lookup(struct lh_table *t, const void *k)
|
||||
{
|
||||
void *result;
|
||||
lh_table_lookup_ex(t, k, &result);
|
||||
return result;
|
||||
}
|
||||
|
||||
json_bool lh_table_lookup_ex(struct lh_table* t, const void* k, void **v)
|
||||
{
|
||||
struct lh_entry *e = lh_table_lookup_entry(t, k);
|
||||
|
||||
Reference in new issue
Block a user