示例#1
0
static inline int
	pf_precision(t_modifier *m, t_array *d, va_list ap)
{
	int		ans;
	size_t	before;
	size_t	after;

	before = d->size;
	ans = pf_print(m, d, ap);
	after = d->size;
	if (ans < m->precision && is_in(m->conversion, "diouDOUxX") >= 0)
	{
		while (ans < m->precision && ++ans)
			fta_append(d, "0", 1);
		tmp_dyna_swap(d, before, after);
	}
	return (ans);
}
示例#2
0
文件: print.c 项目: bowhan/kent
void pf_ugly(_pf_Stack *stack)
/* This is just a synonym for print to distinguish debugging statement
 * from real prints. */
{
pf_print(stack);
}
示例#3
0
文件: asmToOld.c 项目: bowhan/kent
void print(_pf_Stack stack)
/* Print out single variable where type is determined at run time. 
 * Add newline. */
{
pf_print(&stack);
}