aboutsummaryrefslogtreecommitdiff
path: root/src/wydawca.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-12 00:05:00 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-05-12 00:05:00 +0300
commitf569a6f2628b9ddef4dfb4424aff2dad644a8f19 (patch)
tree6d6e5b03bc97198c2002703591fe5e751978130c /src/wydawca.h
parent590e208c40797206fd6a93651fc59e0b68eeb545 (diff)
downloadwydawca-f569a6f2628b9ddef4dfb4424aff2dad644a8f19.tar.gz
wydawca-f569a6f2628b9ddef4dfb4424aff2dad644a8f19.tar.bz2
Improve the txtacc interface.
Diffstat (limited to 'src/wydawca.h')
-rw-r--r--src/wydawca.h2
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
559struct txtacc *txtacc_create (void); 559struct txtacc *txtacc_create (void);
560void txtacc_free (struct txtacc *acc); 560void txtacc_free (struct txtacc *acc);
561void txtacc_free_string (struct txtacc *acc, char *str); 561void txtacc_free_string (struct txtacc *acc, char *str);
562void txtacc_grow (struct txtacc *acc, const char *buf, size_t size); 562void 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)
570char *txtacc_finish (struct txtacc *acc); 570char *txtacc_finish (struct txtacc *acc, int steal);

Return to:

Send suggestions and report system problems to the System administrator.