Further improved lc_printf() and friends.
[libfirm] / include / libfirm / irprintf.h
index d340802..879650f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2011 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -41,14 +41,14 @@ struct obstack;
  * @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.
+ * nodes. Following conversion specifiers.
  * - @%% Print a '%' character.
  * - @%> Print as many white spaces as given in the parameter.
  * - @%c Print a character
  * - @%s A string.
  * - @%p A pointer.
  * - @%d A decimal integer.
+ * - @%u A decimal unsigned integer.
  * - @%x A hexadecimal integer.
  * - @%o An octal integer.
  * - @%I An ident.
@@ -79,38 +79,38 @@ struct obstack;
  * The @c it_pset is an iterator interface (of type
  * @c iterator_t that allows the dumper to traverse the set.
  */
-FIRM_DLL void ir_printf(const char *fmt, ...);
+FIRM_API void ir_printf(const char *fmt, ...);
 
 /**
  * @see irn_printf.
  */
-FIRM_DLL void ir_fprintf(FILE *f, const char *fmt, ...);
+FIRM_API void ir_fprintf(FILE *f, const char *fmt, ...);
 
 /**
  * @see irn_printf.
  */
-FIRM_DLL void ir_snprintf(char *buf, size_t n, const char *fmt, ...);
+FIRM_API void ir_snprintf(char *buf, size_t n, const char *fmt, ...);
 
 /**
  * @see irn_printf.
  */
-FIRM_DLL void ir_vprintf(const char *fmt, va_list args);
+FIRM_API void ir_vprintf(const char *fmt, va_list args);
 
 /**
  * @see irn_printf.
  */
-FIRM_DLL void ir_vfprintf(FILE *f, const char *fmt, va_list args);
+FIRM_API void ir_vfprintf(FILE *f, const char *fmt, va_list args);
 
 /**
  * @see irn_printf.
  */
-FIRM_DLL void ir_vsnprintf(char *buf, size_t len, const char *fmt,
+FIRM_API void ir_vsnprintf(char *buf, size_t len, const char *fmt,
                            va_list args);
 
 /**
  * @see irn_printf.
  */
-FIRM_DLL void ir_obst_vprintf(struct obstack *obst, const char *fmt,
+FIRM_API void ir_obst_vprintf(struct obstack *obst, const char *fmt,
                               va_list args);
 
 #include "end.h"