summaryrefslogtreecommitdiff
path: root/numpy/doc
diff options
context:
space:
mode:
authorwfspotz@sandia.gov <wfspotz@sandia.gov@localhost>2007-11-23 19:30:04 +0000
committerwfspotz@sandia.gov <wfspotz@sandia.gov@localhost>2007-11-23 19:30:04 +0000
commitaaaf84c22b3b85b9ec67a8f201f61616dedb9f93 (patch)
tree9ed89c5de645cc53589782bba3cab0c85f90ce3f /numpy/doc
parent0fa45d7deda989711c4af686d7e9c63a89cc8cbb (diff)
downloadnumpy-aaaf84c22b3b85b9ec67a8f201f61616dedb9f93.tar.gz
Fixed some typos in the comments
Diffstat (limited to 'numpy/doc')
-rw-r--r--numpy/doc/swig/pyfragments.swg13
1 files changed, 8 insertions, 5 deletions
diff --git a/numpy/doc/swig/pyfragments.swg b/numpy/doc/swig/pyfragments.swg
index e43484b81..e955cdaf2 100644
--- a/numpy/doc/swig/pyfragments.swg
+++ b/numpy/doc/swig/pyfragments.swg
@@ -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")