Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = ht->table[k];
- if (p == NULL) {
- /* ht->table[k] = malloc(sizeof(HTentry)); */
- p = malloc(sizeof(HTentry));
- /* ht->table[k]->key = key; */
- p->key = key;
- /* ht>table[k]->value = value; */
- p->value = value;
- /* ht->table[k]->next_ptr = NULL; */
- p->next_ptr = NULL;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement