[1/10] gdiplus: moved two helpers to gdiplus.c

Alexandre Julliard julliard at winehq.org
Wed Jul 11 05:20:34 CDT 2007


"Evan Stade" <estade at gmail.com> writes:

> +inline INT roundr(REAL x)
> +{
> +    return (INT) floorf(x + 0.5);
> +}
> +
> +inline REAL deg2rad(REAL degrees)
> +{
> +    return M_PI * degrees / 180.0;
> +}

If you want them to be inlined they should be defined in the header
file.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list