commit
ad4aa74b85
4 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
#include "hammer.h"
|
#include "hammer.h"
|
||||||
#include "allocator.h"
|
#include "allocator.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
// {{{ counted arrays
|
// {{{ counted arrays
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -223,7 +223,7 @@ void h_hashtable_del(HHashTable* ht, void* key);
|
||||||
void h_hashtable_free(HHashTable* ht);
|
void h_hashtable_free(HHashTable* ht);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
#define h_arena_malloc(a, s) malloc(s)
|
#define h_arena_malloc(a, s) malloc(s)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "hammer.h"
|
#include "hammer.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
typedef struct pp_state {
|
typedef struct pp_state {
|
||||||
int delta;
|
int delta;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
static void* system_alloc(HAllocator *allocator, size_t size) {
|
static void* system_alloc(HAllocator *allocator, size_t size) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue