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:
parent
dfcb1640bf
commit
c2b682390f
3 changed files with 31 additions and 31 deletions
|
|
@ -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 */
|
||||||
|
|
|
||||||
|
|
@ -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,12 +41,12 @@
|
||||||
%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)
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@ nocppval
|
||||||
|
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* Auxiliar loop macros
|
* Auxiliary loop macros
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue