19 Oct
2012
19 Oct
'12
4:43 a.m.
Dan Kegel <dank(a)kegel.com> writes:
+void WINAPIV _vcomp_fork(BOOL ifval, int nargs, void *wrapper, ...) +{ + __ms_va_list valist; + TRACE("(%d, %d, %p, ...)\n", ifval, nargs, wrapper); + __ms_va_start(valist, wrapper); + _vcomp_fork_call_wrapper(wrapper, nargs, valist); + __ms_va_end(valist); +}
It's not a real varargs function, as you noted in the comments, so it's ugly to use varargs only as a hack to get a pointer to the first argument. -- Alexandre Julliard julliard(a)winehq.org