diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-12 00:05:00 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-12 00:05:00 +0300 |
commit | f569a6f2628b9ddef4dfb4424aff2dad644a8f19 (patch) | |
tree | 6d6e5b03bc97198c2002703591fe5e751978130c /src/wydawca.h | |
parent | 590e208c40797206fd6a93651fc59e0b68eeb545 (diff) | |
download | wydawca-f569a6f2628b9ddef4dfb4424aff2dad644a8f19.tar.gz wydawca-f569a6f2628b9ddef4dfb4424aff2dad644a8f19.tar.bz2 |
Improve the txtacc interface.
Diffstat (limited to 'src/wydawca.h')
-rw-r--r-- | src/wydawca.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wydawca.h b/src/wydawca.h index ef1ff86..2307bad 100644 --- a/src/wydawca.h +++ b/src/wydawca.h @@ -558,13 +558,13 @@ char *getcwd_alloc (void); struct txtacc *txtacc_create (void); void txtacc_free (struct txtacc *acc); void txtacc_free_string (struct txtacc *acc, char *str); void txtacc_grow (struct txtacc *acc, const char *buf, size_t size); #define txtacc_1grow(acc, c) \ do \ { \ char __ch = c; \ txtacc_grow (acc, &__ch, 1); \ } \ while (0) -char *txtacc_finish (struct txtacc *acc); +char *txtacc_finish (struct txtacc *acc, int steal); |