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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Mar 19 20:24:12 EDT 2008


Author: matju
Date: Wed Mar 19 20:24:12 2008
New Revision: 3245

Log:
renaming mPointer to cPointer

Modified:
    trunk/base/grid.h

Modified: trunk/base/grid.h
==============================================================================
--- trunk/base/grid.h (original)
+++ trunk/base/grid.h Wed Mar 19 20:24:12 2008
@@ -148,7 +148,7 @@
 
 struct Numop;
 struct Pointer;
-extern Ruby mPointer;
+extern Ruby cPointer;
 typedef struct R {
 	VALUE r;
 	R() {r=Qnil;}
@@ -225,7 +225,7 @@
 		return gensym((char *)rb_sym_name(r));
 	}
 	operator Pointer * () const {
-		if (CLASS_OF(r)!=mPointer) RAISE("not a Pointer");
+		if (CLASS_OF(r)!=cPointer) RAISE("not a Pointer");
 		return (Pointer *)NUM2ULONG(rb_funcall(r,SI(ptr),0));
 	}
 	static R value(VALUE r) {R x; x.r=r; return x;}



More information about the Gridflow-cvs mailing list