vcomp: single-threaded implementation of _vcomp_fork (try 6)

Alexandre Julliard julliard at winehq.org
Fri Oct 19 04:43:23 CDT 2012


Dan Kegel <dank at 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 at winehq.org



More information about the wine-devel mailing list