From eb3017df7e80d4a202355274f4d5077281cdc373 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Sat, 5 Jun 2010 21:05:23 +0100 Subject: [PATCH] doc: Some fixes for the Cogl documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit • 3 general fixes (typos, copy/paste), • ignore cogl-object-private.h, • cogl_fixed_atani() was in reality cogl_fixed_atan(), fixed in commit 43564f05. • Fix the cogl-vector section: sections must have a tag at the end. Also the cogl-vector section was added in the middle of the cogl-buffer one. Let's shiffle it out and add that tag. --- clutter/cogl/cogl/cogl-types.h | 6 +++--- doc/reference/cogl/Makefile.am | 1 + doc/reference/cogl/cogl-sections.txt | 13 +++++++------ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/clutter/cogl/cogl/cogl-types.h b/clutter/cogl/cogl/cogl-types.h index 61a3eff..68b6dca 100644 --- a/clutter/cogl/cogl/cogl-types.h +++ b/clutter/cogl/cogl/cogl-types.h @@ -81,10 +81,10 @@ cogl_handle_ref (CoglHandle handle); * count reaches 0, the resources allocated by @handle will be freed */ void -cogl_handle_unref (CoglHandle Handle); +cogl_handle_unref (CoglHandle handle); /** - * cogl_handle_ref: + * cogl_object_ref: * @object: a #CoglObject * * Increases the reference count of @handle by 1 @@ -95,7 +95,7 @@ void * cogl_object_ref (void *object); /** - * cogl_handle_unref: + * cogl_object_unref: * @object: a #CoglObject * * Drecreases the reference count of @object by 1; if the reference diff --git a/doc/reference/cogl/Makefile.am b/doc/reference/cogl/Makefile.am index c0d9b22..a066e44 100644 --- a/doc/reference/cogl/Makefile.am +++ b/doc/reference/cogl/Makefile.am @@ -74,6 +74,7 @@ IGNORE_HFILES=\ cogl-matrix-private.h \ cogl-matrix-stack.h \ cogl-spans.h \ + cogl-object-private.h \ cogl-pixel-buffer-private.h \ cogl-profile.h \ cogl-sub-texture-private.h \ diff --git a/doc/reference/cogl/cogl-sections.txt b/doc/reference/cogl/cogl-sections.txt index 2d98cf1..af4685d 100644 --- a/doc/reference/cogl/cogl-sections.txt +++ b/doc/reference/cogl/cogl-sections.txt @@ -329,7 +329,7 @@ cogl_sqrti cogl_fixed_atan2 -cogl_fixed_atani +cogl_fixed_atan cogl_fixed_cos cogl_fixed_log2 cogl_fixed_pow @@ -508,6 +508,12 @@ cogl_is_pixel_buffer cogl_texture_new_from_buffer + +cogl_buffer_access_get_type +cogl_buffer_update_hint_get_type +cogl_buffer_usage_hint_get_type + +
cogl-vector Vectors @@ -527,9 +533,4 @@ cogl_vector3_magnitude cogl_vector3_cross_product cogl_vector3_dot_product cogl_vector3_distance - - -cogl_buffer_access_get_type -cogl_buffer_update_hint_get_type -cogl_buffer_usage_hint_get_type
-- 2.7.4