|
From: <ai...@us...> - 2011-02-12 18:24:15
|
Revision: 11560
http://plplot.svn.sourceforge.net/plplot/?rev=11560&view=rev
Author: airwin
Date: 2011-02-12 18:24:09 +0000 (Sat, 12 Feb 2011)
Log Message:
-----------
Insert leading comment block to explain how to check consistency
of plplot_parameters.h or else generate it.
Modified Paths:
--------------
trunk/bindings/f95/global_defines.sed
trunk/bindings/f95/plplot_parameters.h
Modified: trunk/bindings/f95/global_defines.sed
===================================================================
--- trunk/bindings/f95/global_defines.sed 2011-02-12 18:23:14 UTC (rev 11559)
+++ trunk/bindings/f95/global_defines.sed 2011-02-12 18:24:09 UTC (rev 11560)
@@ -2,6 +2,17 @@
# bindings/swig-support/plplotcapi.i into a file that can be used for
# global variable definitions for f95.
+# Insert text at the start:
+1 i\
+! Do not edit this generated file. Instead, check its consistency\
+! with the #defines in bindings/swig-support/plplotcapi.i using the\
+! (Unix) target "check_f95_parameters". If that target reports an\
+! inconsistency (via a cmp message) between the generated\
+! plplot_parameters.h_compare file in the build tree and\
+! plplot_parameters.h in the source tree, then copy\
+! plplot_parameters.h_compare on top of plplot_parameters.h and\
+! check in that result.\
+
# Drop every line that is not a #define
/^#define/! d
Modified: trunk/bindings/f95/plplot_parameters.h
===================================================================
--- trunk/bindings/f95/plplot_parameters.h 2011-02-12 18:23:14 UTC (rev 11559)
+++ trunk/bindings/f95/plplot_parameters.h 2011-02-12 18:24:09 UTC (rev 11560)
@@ -1,3 +1,12 @@
+! Do not edit this generated file. Instead, check its consistency
+! with the #defines in bindings/swig-support/plplotcapi.i using the
+! (Unix) target "check_f95_parameters". If that target reports an
+! inconsistency (via a cmp message) between the generated
+! plplot_parameters.h_compare file in the build tree and
+! plplot_parameters.h in the source tree, then copy
+! plplot_parameters.h_compare on top of plplot_parameters.h and
+! check in that result.
+
integer, parameter :: PLESC_SET_RGB = 1 ! obsolete
integer, parameter :: PLESC_ALLOC_NCOL = 2 ! obsolete
integer, parameter :: PLESC_SET_LPB = 3 ! obsolete
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|