gegl r2848 - in trunk: . gegl/property-types tools
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2848 - in trunk: . gegl/property-types tools
- Date: Fri, 2 Jan 2009 02:30:53 +0000 (UTC)
Author: ok
Date: Fri Jan 2 02:30:52 2009
New Revision: 2848
URL: http://svn.gnome.org/viewvc/gegl?rev=2848&view=rev
Log:
* tools/create-reference.rb: do not print (void) arglist if there is
not return type.
* gegl/property-types/gegl-path.h: modified docs markup.
Modified:
trunk/ChangeLog
trunk/gegl/property-types/gegl-path.h
trunk/tools/create-reference.rb
Modified: trunk/gegl/property-types/gegl-path.h
==============================================================================
--- trunk/gegl/property-types/gegl-path.h (original)
+++ trunk/gegl/property-types/gegl-path.h Fri Jan 2 02:30:52 2009
@@ -46,6 +46,8 @@
GObject parent_instance;
};
+GType gegl_path_get_type (void) G_GNUC_CONST;
+
/* Internally the following structures are used, parts
* of the internal implementation are exposed through
* the path access API. The linked list api is currently
@@ -54,6 +56,31 @@
*/
#ifndef GEGL_PATH_INTERNAL
+
+
+
+/**
+ * GeglPathItem:
+ *
+ * A #GeglPathItem contains the type of instruction to perform as
+ * well as it's arguments. In the public API the PathItem always has
+ * 4 points internally only the needed amount of memory is stored
+ * for a GeglPathItem.
+ *
+ * </p><pre>typedef struct Point
+ * {
+ * gfloat x;
+ * gfloat y;
+ * } Point;</pre></p>
+ * </p><pre>typedef struct GeglPathItem
+ * {
+ * gchar type;
+ * Point point[4];
+ * } GeglPathItem;</pre></p>
+ *
+ */
+
+
typedef struct Point
{
gfloat x;
@@ -70,7 +97,6 @@
#endif
-GType gegl_path_get_type (void) G_GNUC_CONST;
/**
* gegl_path_new:
Modified: trunk/tools/create-reference.rb
==============================================================================
--- trunk/tools/create-reference.rb (original)
+++ trunk/tools/create-reference.rb Fri Jan 2 02:30:52 2009
@@ -157,6 +157,8 @@
def to_html
+
+
ret = "<div class='function'>
<!--<h3>#{ name}</h3>-->
<div class='function_signature'>
@@ -168,7 +170,7 @@
first=true
i=0
- if @arguments.length==0
+ if @arguments.length==0 and @return_type!=""
ret += "<div class='argument'><div class='arg_type'><span class='const'>(void)</span></div></div>\n"
end
@arguments.each {|arg|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]