|
From: <and...@us...> - 2009-01-14 10:02:30
|
Revision: 9303
http://plplot.svn.sourceforge.net/plplot/?rev=9303&view=rev
Author: andrewross
Date: 2009-01-14 10:02:28 +0000 (Wed, 14 Jan 2009)
Log Message:
-----------
Make transform name a const string (it is) which fixes gcc warning when
compiling tclAPI.c.
Comment out debugging fprintf messages.
Modified Paths:
--------------
trunk/bindings/tcl/tclAPI.c
Modified: trunk/bindings/tcl/tclAPI.c
===================================================================
--- trunk/bindings/tcl/tclAPI.c 2009-01-14 09:59:00 UTC (rev 9302)
+++ trunk/bindings/tcl/tclAPI.c 2009-01-14 10:02:28 UTC (rev 9303)
@@ -2822,7 +2822,7 @@
* x[], y[] are the coordinates to be plotted.
\*--------------------------------------------------------------------------*/
-static char *transform_name; /* Name of the procedure that transforms the
+static const char *transform_name; /* Name of the procedure that transforms the
coordinates */
static Tcl_Interp *tcl_interp; /* Pointer to the current interp */
static int return_code; /* Saved return code */
@@ -3150,13 +3150,14 @@
pidata[i][j] = zvalue->fdata[j + i * ny];
}
}
-
+ /*
fprintf(stderr,"nx, ny: %d %d\n", nx, ny);
fprintf(stderr,"xmin, xmax: %.17g %.17g\n", xmin, xmax);
fprintf(stderr,"ymin, ymax: %.17g %.17g\n", ymin, ymax);
fprintf(stderr,"zmin, zmax: %.17g %.17g\n", zmin, zmax);
fprintf(stderr,"Dxmin, Dxmax: %.17g %.17g\n", Dxmin, Dxmax);
fprintf(stderr,"Dymin, Dymax: %.17g %.17g\n", Dymin, Dymax);
+ */
c_plimage(pidata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax,
Dxmin, Dxmax, Dymin, Dymax);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|