Rizin
unix-like reverse engineering framework and cli tools
ht_up.c File Reference
#include "ht_up.h"
#include "ht_inc.c"

Go to the source code of this file.

Functions

static HtName_ (Ht)
 

Function Documentation

◆ HtName_()

static HtName_ ( Ht  )
static

Definition at line 9 of file ht_up.c.

9  {
10  HT_(Options)
11  opt = {
12  .cmp = NULL,
13  .hashfn = NULL, // TODO: use a better hash function for numbers
14  .dupkey = NULL,
15  .dupvalue = valdup,
16  .calcsizeK = NULL,
17  .calcsizeV = calcsizeV,
18  .freefn = pair_free,
19  .elem_size = sizeof(HT_(Kv)),
20  };
21  return internal_ht_new(size, prime_idx, &opt);
22 }
#define NULL
Definition: cris-opc.c:27
#define HT_(name)
Definition: ht_inc.h:45
voidpf void uLong size
Definition: ioapi.h:138

References HT_, and NULL.