Integrated uthash into uipriv.h.
This commit is contained in:
parent
85503bac62
commit
0cd82b7c3d
|
@ -1,6 +1,11 @@
|
||||||
// 6 april 2015
|
// 6 april 2015
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#define uthash_fatal(msg) complain("uthash failed: %s", (msg))
|
||||||
|
#define uthash_malloc(sz) uiAlloc((sz), "(uthash internal)")
|
||||||
|
#define uthash_free(ptr,sz) uiFree((ptr))
|
||||||
|
#include "uthash/uthash.h"
|
||||||
|
|
||||||
extern uiInitOptions options;
|
extern uiInitOptions options;
|
||||||
|
|
||||||
extern void *uiAlloc(size_t, const char *);
|
extern void *uiAlloc(size_t, const char *);
|
||||||
|
|
Loading…
Reference in New Issue