aboutsummaryrefslogtreecommitdiff
path: root/include/bin.h
blob: 139e6bf5e283c20399283a072a6e328db0596aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _BIN_H_
#define _BIN_H_ 1
#if defined(__cplusplus)
extern "C" { 
#endif

AUTOLIB(bin)

/*
#pragma	lib	"libbin.a"
#pragma	src	"/sys/src/libbin"
*/

#ifndef _HAVE_BIN
typedef struct Bin		Bin;
#define _HAVE_BIN
#endif

void	*binalloc(Bin **, ulong size, int zero);
void	*bingrow(Bin **, void *op, ulong osize, ulong size, int zero);
void	binfree(Bin **);

#if defined(__cplusplus)
}
#endif
#endif