[Cogl] Fix the use of deprecation macros

Robert Bragg robert at sixbynine.org
Tue Aug 20 05:05:07 PDT 2013


Hi Fan,

Sorry in the delay in following up on your patches, but just to let
you know I've landed them all on the cogl-1.16 branch and as many as
possible were landed on master too.

thanks,
Robert

On Wed, Jul 24, 2013 at 10:57 AM, Fan Chun-wei <fanc999 at yahoo.com.tw> wrote:
> Hi,
>
> The deprecation macros, which expand to __declspec (deprecated), is expected
> to be before the function prototype, not after, on Visual Studio.  Since
> placing the deprecation macros in front of the function prototypes is also
> accepted by GCC, I though it might be a good idea to move them accordingly,
> so that applications/libraries using Cogl won't have their builds broken.
>
> With blessings, thank you!
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl
>


More information about the Cogl mailing list