diff options
author | Robert Bragg <robert@linux.intel.com> | 2010-05-28 00:35:47 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2010-06-01 12:20:58 +0100 |
commit | 817c1cddccf1286e3773ab74a43892484b2bd75f (patch) | |
tree | bd6617291c2b9248751bfa3d0268070ff16a03c9 /cogl/cogl-path-private.h | |
parent | 5f8fadeb1c4956741ab76eb0f19d440a7a50280f (diff) | |
download | cogl-817c1cddccf1286e3773ab74a43892484b2bd75f.tar.gz |
path: Remove use of CoglHandle in the CoglPath API
This replaces the use of CoglHandle with strongly type CoglPath *
pointers instead. The only function not converted for now is
cogl_is_path which will be done in a later commit.
Diffstat (limited to 'cogl/cogl-path-private.h')
-rw-r--r-- | cogl/cogl-path-private.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cogl/cogl-path-private.h b/cogl/cogl-path-private.h index b215e3fe..a5a249ce 100644 --- a/cogl/cogl-path-private.h +++ b/cogl/cogl-path-private.h @@ -56,7 +56,6 @@ typedef struct _CoglBezCubic floatVec2 p4; } CoglBezCubic; -typedef struct _CoglPath CoglPath; typedef struct _CoglPathData CoglPathData; struct _CoglPath @@ -81,11 +80,11 @@ struct _CoglPathData /* This is an internal version of cogl_path_new that doesn't affect the current path and just creates a new handle */ -CoglHandle +CoglPath * _cogl_path_new (void); void -_cogl_add_path_to_stencil_buffer (CoglHandle path, +_cogl_add_path_to_stencil_buffer (CoglPath *path, gboolean merge, gboolean need_clear); |