2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
8 * @brief A little printf helper unterstanding firm types
9 * @author Sebastian Hack
32 #include "dbginfo_t.h"
35 void ir_printf(const char *fmt, ...)
40 lc_evprintf(firm_get_arg_env(), fmt, args);
44 void ir_fprintf(FILE *f, const char *fmt, ...)
49 lc_evfprintf(firm_get_arg_env(), f, fmt, args);
53 void ir_snprintf(char *buf, size_t n, const char *fmt, ...)
58 lc_evsnprintf(firm_get_arg_env(), buf, n, fmt, args);
62 void ir_vprintf(const char *fmt, va_list args)
64 lc_evprintf(firm_get_arg_env(), fmt, args);
67 void ir_vfprintf(FILE *f, const char *fmt, va_list args)
69 lc_evfprintf(firm_get_arg_env(), f, fmt, args);
72 void ir_vsnprintf(char *buf, size_t len, const char *fmt, va_list args)
74 lc_evsnprintf(firm_get_arg_env(), buf, len, fmt, args);
77 void ir_obst_vprintf(struct obstack *obst, const char *fmt, va_list args)
79 lc_evoprintf(firm_get_arg_env(), obst, fmt, args);