[Gridflow-cvs] [svn] commit: r3765 - /trunk/optional/gem.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 4 00:37:23 EDT 2008


Author: matju
Date: Wed Jun  4 00:37:23 2008
New Revision: 3765

Log:
remove Ruby-specific hack

Modified:
    trunk/optional/gem.c

Modified: trunk/optional/gem.c
==============================================================================
--- trunk/optional/gem.c (original)
+++ trunk/optional/gem.c Wed Jun  4 00:37:23 2008
@@ -27,13 +27,6 @@
 #undef EXTERN
 #include "Base/GemPixDualObj.h"
 #undef T_DATA
-/* I don't remember why we have to undefine Ruby's T_DATA;
-   on Linux there is no conflict with any other library */
-#if RUBY_VERSION_MINOR == 8
-#define T_DATA   0x22
-#else
-#define T_DATA   0x12
-#endif
 
 //  in 0: gem
 //  in 1: grid
@@ -47,7 +40,8 @@
 	\attr bool yflip;
 
 	GridExportPix () : FObject(0,0,0,0) {RAISE("don't call this. this exists only to make GEM happy.");}
-	GridExportPix (BFObject *bself, MESSAGE) : FObject(bself,MESSAGE2) {
+	GridExportPix (BFObject *bself, MESSAGE) : FObject(bself,MESSAGE2), GemPixObj() {
+		post("GridExportPix constructor this=%p",this);
 		yflip = false;
 		imageStruct &im = m_pixBlock.image = imageStruct();
 		im.ysize = 1;



More information about the Gridflow-cvs mailing list