MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / ht_make_entry

Function ht_make_entry

emmy_hook/src/libpe/htable.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include <ctype.h>
23
24inline ht_entry_t *ht_make_entry( void *key, void *value )
25{
26 ht_entry_t *entry = (ht_entry_t *)malloc( sizeof(ht_entry_t) );
27
28 entry->key = key;
29 entry->value = value;
30 entry->next = NULL;
31
32 return entry;
33}
34
35ht_t *ht_create( ht_copy_t key_copy, ht_cmp_t key_cmp, ht_hash_t key_hash, ht_free_t key_free, ht_copy_t val_copy, ht_free_t val_free )
36{

Callers 1

ht_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected