X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firprintf.h;h=22934dd537f2cd9733a3c85691d5cc2fac63ee05;hb=fed1bdc07c9ec7b4d07a9243ad093c9fdd239fbd;hp=f31833f6bc533db7df3bcfec958aea4285f0ed3a;hpb=b6246fae2dc1fef3ce85397f50fb39d57bd2a117;p=libfirm diff --git a/ir/ir/irprintf.h b/ir/ir/irprintf.h index f31833f6b..22934dd53 100644 --- a/ir/ir/irprintf.h +++ b/ir/ir/irprintf.h @@ -50,6 +50,9 @@ typedef void (ir_printf_cb_t)(const appender_t *app, void *object, size_t limit, /** * A string formatting routine for ir objects. + * + * @param fmt The format string. + * * This function rudimentary implements a kind of printf(3) for ir * nodes. Following conversion specifiers. No length, special or field * width specifiers are accepted. @@ -73,6 +76,8 @@ typedef void (ir_printf_cb_t)(const appender_t *app, void *object, size_t limit, * - @%B The block node number of the nodes block. * - @%b A bitset. * - @%= A pnc value + * - @%G A debug info (if available) + * - @%P A compound graph path * * Each of these can be prepend by a '+' which means, that the given * pointer is a collection of items specified by the format. In this @@ -105,8 +110,6 @@ typedef void (ir_printf_cb_t)(const appender_t *app, void *object, size_t limit, * * ir_printf("A set of xyz\'s: %*C\n", it_pset, xyzs, xyz_dump); * @endcode - * - * @param fmt The format string. */ void ir_printf(const char *fmt, ...); @@ -141,7 +144,7 @@ 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); #ifdef WITH_LIBCORE -#include +#include #endif /* WITH_LIBCORE */ #endif /* _IRPRINTF_H */