ident *new_id_fmt(char const *const fmt, ...) { va_list ap; va_start(ap, fmt); obstack_vprintf(&id_obst, fmt, ap); va_end(ap); return new_ident_from_obst(&id_obst); }
/* Grow an obstack with formatted output. Return the number of bytes added to OBS. No trailing nul byte is added, and the object should be closed with obstack_finish before use. Upon memory allocation error, call obstack_alloc_failed_handler. Upon other error, return -1. */ int obstack_printf (struct obstack *obs, const char *format, ...) { va_list args; int result; va_start (args, format); result = obstack_vprintf (obs, format, args); va_end (args); return result; }
static void print_vformat_obstack(const char *format, va_list ap) { obstack_vprintf(obst, format, ap); }