summaryrefslogtreecommitdiff
path: root/src/bin/aplwc_repl.h
blob: c189b778f50c98886c25cb602f5bc4093907aedf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef APLWC_REPL_H
#define APLWC_REPL_H

#include <assert.h>
#include <limits.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <aplwc.h>
#include <aplwc_macros.h>

/* util.c */
unsigned long getenv_ulong(const char *, unsigned long);

/* wrappers.c */
void *wrapped_malloc(size_t);
void wrapped_free(void *);
#define malloc(size) wrapped_malloc(size)
#define free(ptr) wrapped_free(ptr)

#endif /* APLWC_REPL_H */