[4/8] vcomp: Implement stub for _vcomp_fork.

Alexandre Julliard julliard at winehq.org
Wed Jul 15 01:08:44 CDT 2015


Sebastian Lackner <sebastian at fds-team.de> 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);
> +}

Using a valist for this is questionable, even more so in the next patch
where you copy it around, and doesn't buy anything over doing it in
assembly from the start.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list