gegl r1915 - in trunk: . gegl



Author: ok
Date: Fri Jan 25 19:49:11 2008
New Revision: 1915
URL: http://svn.gnome.org/viewvc/gegl?rev=1915&view=rev

Log:
* gegl/gegl-chant.h: added GEGL_CHANT() casting macro for casting
objects to the chanted instance structure.


Modified:
   trunk/ChangeLog
   trunk/gegl/gegl-chant.h

Modified: trunk/gegl/gegl-chant.h
==============================================================================
--- trunk/gegl/gegl-chant.h	(original)
+++ trunk/gegl/gegl-chant.h	Fri Jan 25 19:49:11 2008
@@ -237,7 +237,7 @@
 GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_POINT_COMPOSER);
 #endif
 
-
+#define GEGL_CHANT(obj)  ((GeglChant*)(obj))
 
 /* if GEGL_CHANT_CUSTOM is defined you have to provide the following
  * code or your own implementation of it



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