[Gridflow-cvs] [svn] commit: r3569 - /trunk/base/grid.h

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Apr 16 17:00:28 EDT 2008


Author: matju
Date: Wed Apr 16 17:00:28 2008
New Revision: 3569

Log:
add some convenient shortcuts (from DesireData)

Modified:
    trunk/base/grid.h

Modified: trunk/base/grid.h
==============================================================================
--- trunk/base/grid.h (original)
+++ trunk/base/grid.h Wed Apr 16 17:00:28 2008
@@ -269,7 +269,9 @@
 static inline R    cmp(R a, R b) {return R::value(rb_funcall(a.r,SI(<=>),1,b.r));}
 #endif // USE_RUBY
 
-#define a_float a_w.w_float
+#define a_float    a_w.w_float
+#define a_symbol   a_w.w_float
+#define a_gpointer a_w.w_gpointer
 
 // trick to be able to define methods in t_atom
 struct t_atom2 : t_atom {



More information about the Gridflow-cvs mailing list