bin.h (402B)
1 #ifndef _BIN_H_ 2 #define _BIN_H_ 1 3 #if defined(__cplusplus) 4 extern "C" { 5 #endif 6 7 AUTOLIB(bin) 8 9 /* 10 #pragma lib "libbin.a" 11 #pragma src "/sys/src/libbin" 12 */ 13 14 #ifndef _HAVE_BIN 15 typedef struct Bin Bin; 16 #define _HAVE_BIN 17 #endif 18 19 void *binalloc(Bin **, ulong size, int zero); 20 void *bingrow(Bin **, void *op, ulong osize, ulong size, int zero); 21 void binfree(Bin **); 22 23 #if defined(__cplusplus) 24 } 25 #endif 26 #endif