1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Add libjq autoconf goo

This commit is contained in:
Nicolas Williams
2013-06-16 08:25:12 -05:00
parent c791428905
commit 298b2a6033
19 changed files with 211 additions and 69 deletions

View File

@@ -2,6 +2,7 @@
#define JV_ALLOC_H
#include <stddef.h>
#include "jv.h"
#ifndef NDEBUG
extern volatile char jv_mem_uninitialised;
@@ -14,8 +15,6 @@ static void jv_mem_invalidate(void* mem, size_t n) {
#endif
}
typedef void (*jv_nomem_handler_f)(void *);
void jv_nomem_handler(jv_nomem_handler_f, void *);
void* jv_mem_alloc(size_t);
void* jv_mem_alloc_unguarded(size_t);
void jv_mem_free(void*);