poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
stringbuilder.h
Go to the documentation of this file.
1#ifndef POSER_CORE_STRINGBUILDER_H
2#define POSER_CORE_STRINGBUILDER_H
3
4#include <poser/decl.h>
5
13C_CLASS_DECL(PSC_StringBuilder);
14
20DECLEXPORT PSC_StringBuilder *
22 ATTR_RETNONNULL;
23
29DECLEXPORT void
31 CMETHOD ATTR_NONNULL((2));
32
38DECLEXPORT const char *
40 CMETHOD ATTR_RETNONNULL ATTR_PURE;
41
46DECLEXPORT void
48
49#endif
A simple string builder.
void PSC_StringBuilder_destroy(PSC_StringBuilder *self)
PSC_StringBuilder destructor.
PSC_StringBuilder * PSC_StringBuilder_create(void)
PSC_StringBuilder default constructor.
const char * PSC_StringBuilder_str(const PSC_StringBuilder *self)
Get the complete string.
void PSC_StringBuilder_append(PSC_StringBuilder *self, const char *str)
Append a string to the builder.