From c2b682390f306c070461941134d5fe55020bba6f Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Mon, 19 May 2008 20:23:50 +0000 Subject: [PATCH] Fix a few typos. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10468 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/swigwarnings.swg | 4 +-- Lib/typemaps/primtypes.swg | 56 ++++++++++++++++++------------------- Lib/typemaps/swigmacros.swg | 2 +- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/Lib/swigwarnings.swg b/Lib/swigwarnings.swg index d5af08b0b..21498ebd3 100644 --- a/Lib/swigwarnings.swg +++ b/Lib/swigwarnings.swg @@ -1,6 +1,6 @@ /* Include the internal swig macro codes. These macros correspond to - the one found in Source/Include/swigwarn.h plus the 'SWIG'prefix. + the one found in Source/Include/swigwarn.h plus the 'SWIG' prefix. For example, in the include file 'swigwarn.h' you will find @@ -39,7 +39,7 @@ %include /* ----------------------------------------------------------------------------- - * Auxiliar macros + * Auxiliary macros * ----------------------------------------------------------------------------- */ /* Macro to define warning messages */ diff --git a/Lib/typemaps/primtypes.swg b/Lib/typemaps/primtypes.swg index 4901ff689..c59aa1d1e 100644 --- a/Lib/typemaps/primtypes.swg +++ b/Lib/typemaps/primtypes.swg @@ -5,7 +5,7 @@ /* This file provide fragments and macros for the C/C++ primitive types. - The file defines default fragments for the following types: + The file defines default fragments for the following types: bool signed char @@ -20,7 +20,7 @@ size_t ptrdiff_t - which can always be redefined in the swig target languge if needed. + which can always be redefined in the swig target language if needed. The fragments for the following types, however, need to be defined in the target language always: @@ -41,46 +41,46 @@ %typemaps_primitive(CheckCode, Type) which generate the typemaps for a primitive type with a given - checkcode. It is assumed the the primitive type is 'normalized' and + checkcode. It is assumed that the primitive type is 'normalized' and the corresponding SWIG_AsVal(Type) and SWIG_From(Type) methods are provided via fragments. - The following auxiliar macros (explained with bash pseudo code) are + The following auxiliary macros (explained with bash pseudo code) are also defined: - %apply_ctypes(Macro) - for i in C Type + %apply_ctypes(Macro) + for i in C Type do Macro($i) done - %apply_cpptypes(Macro) - for i in C++ Type + %apply_cpptypes(Macro) + for i in C++ Type do Macro($i) done - %apply_ctypes_2(Macro2) - for i in C Type - do - for j in C Type - do - Macro_2($i, $j) - done - done - - %apply_cpptypes_2(Macro2) - for i in C++ Type - do - for j in C++ Type - do - Macro_2($i, $j) - done - done - + %apply_ctypes_2(Macro2) + for i in C Type + do + for j in C Type + do + Macro_2($i, $j) + done + done + + %apply_cpptypes_2(Macro2) + for i in C++ Type + do + for j in C++ Type + do + Macro_2($i, $j) + done + done + %apply_checkctypes(Macro2) - for i in Check Type + for i in Check Type do Macro2(%checkcode($i), $i) done @@ -141,7 +141,7 @@ SWIG_AsVal_dec(bool)(SWIG_Object obj, bool *val) %numeric_double(float, "", -FLT_MAX, FLT_MAX) -/* long/unsgined long */ +/* long/unsigned long */ %ensure_type_fragments(long) %ensure_type_fragments(unsigned long) diff --git a/Lib/typemaps/swigmacros.swg b/Lib/typemaps/swigmacros.swg index e00a69b27..928f4ec0c 100644 --- a/Lib/typemaps/swigmacros.swg +++ b/Lib/typemaps/swigmacros.swg @@ -184,7 +184,7 @@ nocppval /* ----------------------------------------------------------------------------- - * Auxiliar loop macros + * Auxiliary loop macros * ----------------------------------------------------------------------------- */