plan9port/include/bin.h
rsc f7012583e9 Add the #goo to allow use in C++.
Silence a few more warnings.
Strip down the mkfiles more.
Fix bug in X11 mouse handling, note groups.
2003-11-25 01:40:27 +00:00

24 lines
388 B
C

#ifndef _BIN_H_
#define _BIN_H_ 1
#if defined(__cplusplus)
extern "C" {
#endif
/*
#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