X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firprintf.h;h=a93c0bbb4f0e820be307f105c5df7b99e04ab65f;hb=76a6c3b40390427bc516a943316642bb57daa465;hp=20280a2ed3fa7da68ebdc55b987c10c2503dcd4b;hpb=3197973335859d2a385f0b1a4c431b7baa5b201e;p=libfirm diff --git a/ir/ir/irprintf.h b/ir/ir/irprintf.h index 20280a2ed..a93c0bbb4 100644 --- a/ir/ir/irprintf.h +++ b/ir/ir/irprintf.h @@ -20,10 +20,14 @@ #ifndef _IRPRINTF_H #define _IRPRINTF_H +#include "firm_config.h" + #include #include #include -#include + +/* forward definition */ +struct obstack; /** * Something that can append strings and chars to something. @@ -49,6 +53,7 @@ typedef void (ir_printf_cb_t)(const appender_t *app, void *object, size_t limit, * This function rudimentarily implements a kind of printf(3) for ir * nodes. Following conversion specifiers. No length, special or field * width specifiers are accepted. + * - @%> Print as many white spaces as given in the parameter. * - @%p A pointer. * - @%s A string. * - @%I An ident. @@ -129,4 +134,8 @@ void ir_vsnprintf(char *buf, size_t len, const char *fmt, va_list args); */ void ir_obst_vprintf(struct obstack *obst, const char *fmt, va_list args); -#endif +#ifdef WITH_LIBCORE +#include +#endif /* WITH_LIBCORE */ + +#endif /* _IRPRINTF_H */