Exemplo n.º 1
0
struct hw *
hw_tree_parse (struct hw *current,
	       const char *fmt,
	       ...)
{
    va_list ap;
    va_start (ap, fmt);
    current = hw_tree_vparse (current, fmt, ap);
    va_end (ap);
    return current;
}
Exemplo n.º 2
0
struct hw *
sim_hw_parse (struct sim_state *sd,
              const char *fmt,
              ...)
{
    struct hw *current;
    va_list ap;
    va_start (ap, fmt);
    current = hw_tree_vparse (STATE_HW (sd)->tree, fmt, ap);
    va_end (ap);
    return current;
}