Fix a few typos.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2008-05-19 20:23:50 +00:00
commit c2b682390f
3 changed files with 31 additions and 31 deletions

View file

@ -1,6 +1,6 @@
/* /*
Include the internal swig macro codes. These macros correspond to 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 For example, in the include file 'swigwarn.h' you will find
@ -39,7 +39,7 @@
%include <swigwarn.swg> %include <swigwarn.swg>
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* Auxiliar macros * Auxiliary macros
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
/* Macro to define warning messages */ /* Macro to define warning messages */

View file

@ -5,7 +5,7 @@
/* /*
This file provide fragments and macros for the C/C++ primitive types. 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 bool
signed char signed char
@ -20,7 +20,7 @@
size_t size_t
ptrdiff_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 The fragments for the following types, however, need to be defined
in the target language always: in the target language always:
@ -41,46 +41,46 @@
%typemaps_primitive(CheckCode, Type) %typemaps_primitive(CheckCode, Type)
which generate the typemaps for a primitive type with a given 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 the corresponding SWIG_AsVal(Type) and SWIG_From(Type) methods are
provided via fragments. 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: also defined:
%apply_ctypes(Macro) %apply_ctypes(Macro)
for i in C Type for i in C Type
do do
Macro($i) Macro($i)
done done
%apply_cpptypes(Macro) %apply_cpptypes(Macro)
for i in C++ Type for i in C++ Type
do do
Macro($i) Macro($i)
done done
%apply_ctypes_2(Macro2) %apply_ctypes_2(Macro2)
for i in C Type for i in C Type
do do
for j in C Type for j in C Type
do do
Macro_2($i, $j) Macro_2($i, $j)
done done
done done
%apply_cpptypes_2(Macro2) %apply_cpptypes_2(Macro2)
for i in C++ Type for i in C++ Type
do do
for j in C++ Type for j in C++ Type
do do
Macro_2($i, $j) Macro_2($i, $j)
done done
done done
%apply_checkctypes(Macro2) %apply_checkctypes(Macro2)
for i in Check Type for i in Check Type
do do
Macro2(%checkcode($i), $i) Macro2(%checkcode($i), $i)
done done
@ -141,7 +141,7 @@ SWIG_AsVal_dec(bool)(SWIG_Object obj, bool *val)
%numeric_double(float, "<float.h>", -FLT_MAX, FLT_MAX) %numeric_double(float, "<float.h>", -FLT_MAX, FLT_MAX)
/* long/unsgined long */ /* long/unsigned long */
%ensure_type_fragments(long) %ensure_type_fragments(long)
%ensure_type_fragments(unsigned long) %ensure_type_fragments(unsigned long)

View file

@ -184,7 +184,7 @@ nocppval
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* Auxiliar loop macros * Auxiliary loop macros
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */