71c01102489e50ca383fc74fb361a09ff89fc49c
1 #include "../ston/ston.h"
2 #include <stdlib.h> //malloc
3 #include <stdio.h> //print
5 int main(int argc
, char* argv
[])
9 if ((ht
= ston_ht32_new(2,1,0,malloc
)) == NULL
)
10 fprintf(stderr
,"Could not allocate ht32\n");
11 ston_ht32_insertx(ht
,50,1,200);
12 htval
= ston_ht32_entry(ht
,50,1);
13 printf("[50][1] = %i\n",*htval
);