mutter/cogl-path
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
..
tesselator Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl1-path-functions.h Fix the placement of deprecation macros 2013-08-19 22:44:45 +01:00
cogl1-path.c Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl2-path-functions.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-path-1.0.pc.in Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl-path-enum-types.c.in Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl-path-enum-types.h.in Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl-path-private.h Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl-path-types.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-path.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-path.h Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl-path.symbols cogl-path: Add a symbols file 2013-08-30 12:02:54 +01:00
Makefile.am Add Autotools Items to Complete the Cogl-Path MSVC Projects 2013-09-02 16:22:08 +01:00