blob: 139e6bf5e283c20399283a072a6e328db0596aba [file] [log] [blame]
rscf7012582003-11-25 01:40:27 +00001#ifndef _BIN_H_
2#define _BIN_H_ 1
3#if defined(__cplusplus)
4extern "C" {
5#endif
6
rsc1a0954a2005-01-04 21:18:08 +00007AUTOLIB(bin)
8
rsc97a5e5f2003-11-23 18:25:35 +00009/*
10#pragma lib "libbin.a"
11#pragma src "/sys/src/libbin"
12*/
13
14#ifndef _HAVE_BIN
15typedef struct Bin Bin;
16#define _HAVE_BIN
17#endif
18
19void *binalloc(Bin **, ulong size, int zero);
20void *bingrow(Bin **, void *op, ulong osize, ulong size, int zero);
21void binfree(Bin **);
rscf7012582003-11-25 01:40:27 +000022
23#if defined(__cplusplus)
24}
25#endif
26#endif