Integrated uthash into uipriv.h.

This commit is contained in:
Pietro Gagliardi 2015-05-21 10:32:55 -04:00
parent 85503bac62
commit 0cd82b7c3d
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
// 6 april 2015
#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 void *uiAlloc(size_t, const char *);