… | |
… | |
23 | */ |
23 | */ |
24 | |
24 | |
25 | #ifndef DYNBUF_H__ |
25 | #ifndef DYNBUF_H__ |
26 | #define DYNBUF_H__ |
26 | #define DYNBUF_H__ |
27 | |
27 | |
|
|
28 | #include <cstdarg> |
28 | #include <cstring> |
29 | #include <cstring> |
29 | #include <cassert> |
30 | #include <cassert> |
30 | |
31 | |
31 | #include "util.h" |
32 | #include "util.h" |
32 | #include "shstr.h" |
33 | #include "shstr.h" |
… | |
… | |
181 | |
182 | |
182 | void add_abilities (const char *name, uint32 abilities); |
183 | void add_abilities (const char *name, uint32 abilities); |
183 | void add_paths (const char *name, uint32 paths); |
184 | void add_paths (const char *name, uint32 paths); |
184 | |
185 | |
185 | // returns the string, linearised and with trailing \0 |
186 | // returns the string, linearised and with trailing \0 |
186 | operator const char * (); |
187 | operator char *(); |
187 | }; |
188 | }; |
188 | |
189 | |
189 | #endif |
190 | #endif |
190 | |
191 | |