plan9port/include/bin.h

27 lines
402 B
C
Raw Permalink Normal View History

#ifndef _BIN_H_
#define _BIN_H_ 1
#if defined(__cplusplus)
extern "C" {
#endif
2005-01-04 21:18:08 +00:00
AUTOLIB(bin)
2003-11-23 18:25:35 +00:00
/*
#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