[Numpy-svn] r4496 - trunk/numpy/doc/swig

numpy-svn@scip... numpy-svn@scip...
Fri Nov 23 13:30:45 CST 2007


Author: wfspotz@sandia.gov
Date: 2007-11-23 13:30:04 -0600 (Fri, 23 Nov 2007)
New Revision: 4496

Modified:
   trunk/numpy/doc/swig/pyfragments.swg
Log:
Fixed some typos in the comments

Modified: trunk/numpy/doc/swig/pyfragments.swg
===================================================================
--- trunk/numpy/doc/swig/pyfragments.swg	2007-11-23 19:24:59 UTC (rev 4495)
+++ trunk/numpy/doc/swig/pyfragments.swg	2007-11-23 19:30:04 UTC (rev 4496)
@@ -1,13 +1,15 @@
+/**********************************************************************/
+
 /* For numpy versions prior to 1.0, the names of certain data types
  * are different than in later versions.  This fragment provides macro
- * substitutions that allow us to support old and new versions on
+ * substitutions that allow us to support old and new versions of
  * numpy.
  */
 
 %fragment("NumPy_Backward_Compatibility", "header")
 {
 /* Support older NumPy data type names
-*/
+ */
 %#if NDARRAY_VERSION < 0x01000000
 %#define NPY_BOOL        PyArray_BOOL
 %#define NPY_BYTE        PyArray_BYTE
@@ -147,9 +149,10 @@
 
 
 
-// Override the SWIG_AsVal_frag(unsigned long) fragment so that it
-// also checks for numpy scalar array types.  The code through the
-// %#endif is essentially cut-and-paste from pyprimtype.swg
+/* Override the SWIG_AsVal_frag(unsigned long) fragment so that it
+ * also checks for numpy scalar array types.  The code through the
+ * %#endif is essentially cut-and-paste from pyprimtype.swg
+ */
 
 %fragment(SWIG_AsVal_frag(unsigned long),"header",
 	  fragment="SWIG_CanCastAsInteger")



More information about the Numpy-svn mailing list