From af4c28e5b83dabc24def6ee1680192bc09fb7cd4 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 9 Jul 2010 16:17:03 +0000 Subject: [PATCH] add documentation for obstack_printf [r27719] --- include/libfirm/adt/obstack.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/libfirm/adt/obstack.h b/include/libfirm/adt/obstack.h index 6ce2d8d6a..220eeb39e 100644 --- a/include/libfirm/adt/obstack.h +++ b/include/libfirm/adt/obstack.h @@ -501,9 +501,13 @@ __extension__ \ #endif /* not __GNUC__ or not __STDC__ */ -int obstack_vprintf(struct obstack *obst, const char *fmt, va_list ap); + +/** prints formated string (printf-style format) to an obstack. + * This is done by "growing" the obstack with the obstack_*grow* + * functions. Note: Does NOT append a null-byte. */ int obstack_printf(struct obstack *obst, const char *fmt, ...); +int obstack_vprintf(struct obstack *obst, const char *fmt, va_list ap); #include "../end.h" -#endif /* obstack.h */ +#endif -- 2.20.1