gegl r2924 - in trunk: . docs gegl



Author: martinn
Date: Fri Feb 20 23:39:44 2009
New Revision: 2924
URL: http://svn.gnome.org/viewvc/gegl?rev=2924&view=rev

Log:
Integrate gegl-version.h into the generated docs

Modified:
   trunk/ChangeLog
   trunk/docs/ChangeLog
   trunk/docs/Makefile.am
   trunk/gegl/gegl-version.h.in

Modified: trunk/docs/Makefile.am
==============================================================================
--- trunk/docs/Makefile.am	(original)
+++ trunk/docs/Makefile.am	Fri Feb 20 23:39:44 2009
@@ -131,6 +131,7 @@
 endif
 
 api.html: $(top_srcdir)/gegl/gegl.h\
+          $(top_srcdir)/gegl/gegl-version.h\
           $(top_srcdir)/gegl/buffer/gegl-buffer.h\
           $(top_srcdir)/gegl/gegl-utils.h\
           $(top_srcdir)/gegl/property-types/gegl-color.h\
@@ -141,6 +142,7 @@
 if HAVE_RUBY
 	$(top_srcdir)/tools/create-reference.rb 	\
 	    $(top_srcdir)/gegl/gegl.h			\
+	    $(top_srcdir)/gegl/gegl-version.h		\
 	    $(top_srcdir)/gegl/buffer/gegl-buffer.h	\
             $(top_srcdir)/gegl/gegl-utils.h \
             $(top_srcdir)/gegl/property-types/gegl-color.h\

Modified: trunk/gegl/gegl-version.h.in
==============================================================================
--- trunk/gegl/gegl-version.h.in	(original)
+++ trunk/gegl/gegl-version.h.in	Fri Feb 20 23:39:44 2009
@@ -21,11 +21,16 @@
 
 
 /***
- * GEGL version information
+ * GEGL version information:
  *
  * These macros tell the version of GEGL you are compiling against.
  * GEGL's version number consists of three parts: major, minor and
  * micro.
+ *
+ * ---Code sample:
+ * #define GEGL_MAJOR_VERSION @GEGL_MAJOR_VERSION@
+ * #define GEGL_MINOR_VERSION @GEGL_MINOR_VERSION@
+ * #define GEGL_MICRO_VERSION @GEGL_MICRO_VERSION@
  */
 
 #define GEGL_MAJOR_VERSION @GEGL_MAJOR_VERSION@



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]