Sha256: 49056d66f857b469be1e0d38ab164ffa7f56b038849e0ba131da5a8a08fa3c1d
Contents?: true
Size: 786 Bytes
Versions: 3
Compression:
Stored size: 786 Bytes
Contents
#ifndef _PBUFFER_H #define _PBUFFER_H 1 #include<stdlib.h> #include<pabidecl.h> #include "pstring.h" typedef struct pbuffer { size_t bufsize; char* buffer; } pbuffer; #define PBUFFER_MULTIPLICATOR 2 TMPLPRO_LOCAL size_t pbuffer_size(pbuffer*); TMPLPRO_LOCAL void pbuffer_preinit(pbuffer* pBuffer); TMPLPRO_LOCAL char* pbuffer_init(pbuffer*); TMPLPRO_LOCAL char* pbuffer_init_as(pbuffer* pBuffer,size_t size); TMPLPRO_LOCAL char* pbuffer_string(pbuffer*); TMPLPRO_LOCAL char* pbuffer_resize(pbuffer*, size_t size); TMPLPRO_LOCAL void pbuffer_free(pbuffer*); TMPLPRO_LOCAL void pbuffer_fill_from_pstring(pbuffer* pBuffer, PSTRING pstr); TMPLPRO_LOCAL void pbuffer_swap(pbuffer* buf1, pbuffer* buf2); #endif /* pbuffer.h */ /* * Local Variables: * mode: c * End: */
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
html-template-pro-0.0.3 | ext/html/template/pbuffer.h |
html-template-pro-0.0.2 | ext/html/template/internal/pbuffer.h |
html-template-pro-0.0.1 | ext/html/template/internal/pbuffer.h |