From aaaf84c22b3b85b9ec67a8f201f61616dedb9f93 Mon Sep 17 00:00:00 2001 From: "wfspotz@sandia.gov" Date: Fri, 23 Nov 2007 19:30:04 +0000 Subject: Fixed some typos in the comments --- numpy/doc/swig/pyfragments.swg | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'numpy/doc') 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") -- cgit v1.2.1