mutter/cogl-pango
Robert Bragg 6436cd073d Declare interface types as void and remove cast macros
This declares the interface types CoglFramebuffer, CoglBuffer,
CoglTexture, CoglMetaTexture and CoglPrimitiveTexture as void when
including the public cogl.h header so that users don't have to use lots
of C type casts between instance types and interface types.

This also removes all of the COGL_XYZ() type cast macros since they do
nothing more than compile time type casting but it's less readable if
you haven't seen that coding pattern before.

Unlike with gobject based apis that use per-type macros for casting and
performing runtime type checking we instead prefer to do our runtime
type checking internally within the front-end public apis when objects
are passed into Cogl. This greatly reduces the verbosity for users of
the api and may help reduce the chance of excessive runtime type
checking that can sometimes be a problem.

(cherry picked from commit 248a76f5eac7e5ae4fb45208577f9a55360812a7)

Since we can't break the 1.x api this version of the patch actually
defines compatible NOP macros within deprecated/cogl-type-casts.h
2013-11-27 19:33:44 +00:00
..
cogl-pango-1.0.pc.in build: Don't make cogl-pango-1.0 depend on cogl-2.0 2011-05-06 17:34:57 +01:00
cogl-pango-2.0-experimental.pc.in Make it clearer that the 2.0 API is experimental 2011-06-14 17:09:55 +01:00
cogl-pango-display-list.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango-display-list.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango-fontmap.c cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-glyph-cache.c Expose CoglAtlasTexture api 2013-07-29 16:38:53 +01:00
cogl-pango-glyph-cache.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango-pipeline-cache.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango-pipeline-cache.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango-private.h cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-render.c Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl-pango.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango.pc.in build: only have libcogl-pango depend on pango 2011-08-12 15:28:42 +01:00
cogl-pango.rc.in Fix the Windows Resource Files 2013-08-30 12:04:36 +01:00
cogl-pango.symbols VS 2008/2010 project files to build Cogl 2011-11-25 13:12:45 +00:00
Makefile.am cogl-pango: Add a missing backslash in the Makefile 2013-02-20 14:55:44 +00:00