[Gridflow-cvs] [svn] commit: r5664 - in /trunk/src: quartz.m quicktimeapple.cxx quicktimecamera.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed May 12 18:39:07 EDT 2010


Author: pboivin
Date: Wed May 12 18:39:06 2010
New Revision: 5664

Log:
\decl and \def only pass argc,argv when there is a "..." argument

Modified:
    trunk/src/quartz.m
    trunk/src/quicktimeapple.cxx
    trunk/src/quicktimecamera.cxx

Modified: trunk/src/quartz.m
==============================================================================
--- trunk/src/quartz.m (original)
+++ trunk/src/quartz.m Wed May 12 18:39:06 2010
@@ -95,7 +95,7 @@
 		[window setAcceptsMouseMovedEvents: YES];
 		clock = clock_new(this,(t_method)FormatQuartz_call);
 		clock_delay(clock,0);
-		_0_move(0,0,0,0);
+		_0_move(0,0);
 		mouse_state = 0;
 	}
 	~FormatQuartz () {

Modified: trunk/src/quicktimeapple.cxx
==============================================================================
--- trunk/src/quicktimeapple.cxx (original)
+++ trunk/src/quicktimeapple.cxx Wed May 12 18:39:06 2010
@@ -73,7 +73,7 @@
 		buf2 = new uint8[dim.prod()];
 		err = QTNewGWorldFromPtr(&gw, k32ARGBPixelFormat, &r, NULL, NULL, 0, buffer, dim.prod(1));
 		if (err) ERR("QTNewGWorldFromPtr");
-		_0_colorspace(0,0,gensym("rgba"));
+		_0_colorspace(gensym("rgba"));
 		return;
 	}
 	~FormatQuickTimeApple() {
@@ -93,7 +93,7 @@
 };
 
 \def 0 seek (int frame) {nframe=frame;}
-\def 0 rewind () {_0_seek(0,0,0);}
+\def 0 rewind () {_0_seek(0);}
 
 \def 0 bang () {
 	CGrafPtr savedPort;

Modified: trunk/src/quicktimecamera.cxx
==============================================================================
--- trunk/src/quicktimecamera.cxx (original)
+++ trunk/src/quicktimecamera.cxx Wed May 12 18:39:06 2010
@@ -196,7 +196,7 @@
   P<BitPacking> bit_packing3;
   \constructor (t_symbol *mode, int device) {
 	dim = Dim(240,320,3);
-	_0_colorspace(0,0,gensym("rgb"));
+	_0_colorspace(gensym("rgb"));
 	OSErr e;
 	rect.top=rect.left=0;
 	rect.bottom=dim[0]; rect.right=dim[1];
@@ -323,7 +323,7 @@
 }
 
 \def 0 get (t_symbol *s=0) {
-	FObject::_0_get(argc,argv,s);
+	FObject::_0_get(s);
 	if (!s) {
 		DigitizerInfo di;
 		OSErr e = VDGetDigitizerInfo(vdc,&di);



More information about the Gridflow-cvs mailing list