blob: dc738f14ffac7ab90eea6050bac2fcd858e2b409 [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
rsc97a5e5f2003-11-23 18:25:35 +00007/*
8#pragma lib "libbin.a"
9#pragma src "/sys/src/libbin"
10*/
11
12#ifndef _HAVE_BIN
13typedef struct Bin Bin;
14#define _HAVE_BIN
15#endif
16
17void *binalloc(Bin **, ulong size, int zero);
18void *bingrow(Bin **, void *op, ulong osize, ulong size, int zero);
19void binfree(Bin **);
rscf7012582003-11-25 01:40:27 +000020
21#if defined(__cplusplus)
22}
23#endif
24#endif