[Cogl] [1.16]Patch: cogl/cogl-offscreen.h: Fix Placement of deprecation macros

Neil Roberts neil at linux.intel.com
Fri Aug 30 04:08:33 PDT 2013


Thanks for the patch. I have pushed it to the 1.16 branch.

Regards,
- Neil

Fan Chun-wei <fanc999 at yahoo.com.tw> writes:

> Hi,
>
> The deprecation macros need to be before the function prototypes, not 
> after, on Visual Studio.  Move this accordingly, as this is also 
> accepted by GCC.
>
> With blessings, thank you!
> From 9b33274a711909b80fb68326fc23e6bbb7b3c03e Mon Sep 17 00:00:00 2001
> From: Chun-wei Fan <fanchunwei at src.gnome.org>
> Date: Mon, 26 Aug 2013 18:51:55 +0800
> Subject: [PATCH 2/3] cogl/cogl-offscreen.h: Fix deprecation macro placement
>
> The deprecation macros need to be before the function prototype on
> Visual Studio, and is also accepted by GCC.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the Cogl mailing list