23 # define AGXBUF_API __declspec(dllexport)
25 # define AGXBUF_API __declspec(dllimport)
28 # define AGXBUF_API extern
77 #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C)))
83 #define agxbuse(X) ((void)agxbputc(X,'\0'),(char*)((X)->ptr = (X)->buf))
89 #define agxbstart(X) ((char*)((X)->buf))
95 #define agxblen(X) (((X)->ptr)-((X)->buf))
101 #define agxbclear(X) ((void)((X)->ptr = (X)->buf))
107 #define agxbnext(X) ((char*)((X)->ptr))
size_t agxbput(agxbuf *xb, const char *s)
void agxbinit(agxbuf *xb, unsigned int hint, unsigned char *init)
size_t agxbput_n(agxbuf *xb, const char *s, size_t ssz)
void agxbfree(agxbuf *xb)
int agxbmore(agxbuf *xb, size_t ssz)