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); | |||
558 | 558 | ||
559 | struct txtacc *txtacc_create (void); | 559 | struct txtacc *txtacc_create (void); |
560 | void txtacc_free (struct txtacc *acc); | 560 | void txtacc_free (struct txtacc *acc); |
561 | void txtacc_free_string (struct txtacc *acc, char *str); | 561 | void txtacc_free_string (struct txtacc *acc, char *str); |
562 | void txtacc_grow (struct txtacc *acc, const char *buf, size_t size); | 562 | void txtacc_grow (struct txtacc *acc, const char *buf, size_t size); |
563 | #define txtacc_1grow(acc, c) \ | 563 | #define txtacc_1grow(acc, c) \ |
564 | do \ | 564 | do \ |
565 | { \ | 565 | { \ |
566 | char __ch = c; \ | 566 | char __ch = c; \ |
567 | txtacc_grow (acc, &__ch, 1); \ | 567 | txtacc_grow (acc, &__ch, 1); \ |
568 | } \ | 568 | } \ |
569 | while (0) | 569 | while (0) |
570 | char *txtacc_finish (struct txtacc *acc); | 570 | char *txtacc_finish (struct txtacc *acc, int steal); |