projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix EXPORT problem with string variables. From Andreas Streichardt
[pspp-builds.git]
/
src
/
pool.h
diff --git
a/src/pool.h
b/src/pool.h
index 117e0c5b7d5513c33c8bbdafce61b58d24d8f652..dd7080a15b800806b801b3027a752533552e4461 100644
(file)
--- a/
src/pool.h
+++ b/
src/pool.h
@@
-36,10
+36,12
@@
struct pool_mark
/* General routines. */
struct pool *pool_create (void);
void pool_destroy (struct pool *);
/* General routines. */
struct pool *pool_create (void);
void pool_destroy (struct pool *);
+void pool_clear (struct pool *);
/* Suballocation routines. */
void *pool_alloc (struct pool *, size_t);
char *pool_strdup (struct pool *, const char *);
/* Suballocation routines. */
void *pool_alloc (struct pool *, size_t);
char *pool_strdup (struct pool *, const char *);
+char *pool_strndup (struct pool *, const char *, size_t);
char *pool_strcat (struct pool *, const char *, ...);
/* Standard allocation routines. */
char *pool_strcat (struct pool *, const char *, ...);
/* Standard allocation routines. */