Fix a few typos in comments and docs
This commit is contained in:
parent
2d0dc707e6
commit
c6e4dea572
8 changed files with 16 additions and 16 deletions
6
CHANGES
6
CHANGES
|
|
@ -201,7 +201,7 @@ Version 2.0.10 (27 May 2013)
|
||||||
The macros are silently ignored.
|
The macros are silently ignored.
|
||||||
|
|
||||||
2013-04-17: wsfulton
|
2013-04-17: wsfulton
|
||||||
[C#] Pull patch #34 from BrantKyser to fix smart pointers in conjuction with directors.
|
[C#] Pull patch #34 from BrantKyser to fix smart pointers in conjunction with directors.
|
||||||
|
|
||||||
2013-04-15: kwwette
|
2013-04-15: kwwette
|
||||||
[Octave] Fix bugs in output of cleanup code.
|
[Octave] Fix bugs in output of cleanup code.
|
||||||
|
|
@ -5206,7 +5206,7 @@ Version 1.3.29 (March 21, 2006)
|
||||||
6146 _std_containers.so
|
6146 _std_containers.so
|
||||||
174 _std_containers.so.hidden
|
174 _std_containers.so.hidden
|
||||||
|
|
||||||
Excecution times:
|
Execution times:
|
||||||
|
|
||||||
real 0m0.050s user 0m0.039s sys 0m0.005s _std_containers.so
|
real 0m0.050s user 0m0.039s sys 0m0.005s _std_containers.so
|
||||||
real 0m0.039s user 0m0.026s sys 0m0.007s _std_containers.so.hidden
|
real 0m0.039s user 0m0.026s sys 0m0.007s _std_containers.so.hidden
|
||||||
|
|
@ -5292,7 +5292,7 @@ Version 1.3.29 (March 21, 2006)
|
||||||
protected methods by default.
|
protected methods by default.
|
||||||
|
|
||||||
In previous releases, you needed to use the 'dirprot'
|
In previous releases, you needed to use the 'dirprot'
|
||||||
option to acheive the same.
|
option to achieve the same.
|
||||||
|
|
||||||
If you want, you can disable the new default behaviour,
|
If you want, you can disable the new default behaviour,
|
||||||
use the 'nodirprot' option:
|
use the 'nodirprot' option:
|
||||||
|
|
|
||||||
|
|
@ -1522,7 +1522,7 @@ multiple inheritance.
|
||||||
spirit, and target language capabilities, as possible. In most
|
spirit, and target language capabilities, as possible. In most
|
||||||
cases, this means that SWIG will parse the non-public inheritance
|
cases, this means that SWIG will parse the non-public inheritance
|
||||||
declarations, but that will have no effect in the generated code,
|
declarations, but that will have no effect in the generated code,
|
||||||
besides the implicit policies derived for constructor and
|
besides the implicit policies derived for constructors and
|
||||||
destructors.
|
destructors.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3956,7 +3956,7 @@ Requirements for the type system:
|
||||||
<li>Store inheritance and type equivalence information and be able to correctly
|
<li>Store inheritance and type equivalence information and be able to correctly
|
||||||
re-create the type pointer.</li>
|
re-create the type pointer.</li>
|
||||||
<li>Share type information between modules.</li>
|
<li>Share type information between modules.</li>
|
||||||
<li>Modules can be loaded in any order, irregardless of actual type
|
<li>Modules can be loaded in any order, regardless of actual type
|
||||||
dependency.</li>
|
dependency.</li>
|
||||||
<li>Avoid the use of dynamically allocated memory, and library/system calls in general.</li>
|
<li>Avoid the use of dynamically allocated memory, and library/system calls in general.</li>
|
||||||
<li>Provide a reasonably fast implementation, minimizing the lookup time for all
|
<li>Provide a reasonably fast implementation, minimizing the lookup time for all
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
#undef SWIG_TYPECHECK_BOOL
|
#undef SWIG_TYPECHECK_BOOL
|
||||||
%define SWIG_TYPECHECK_BOOL 10000 %enddef
|
%define SWIG_TYPECHECK_BOOL 10000 %enddef
|
||||||
|
|
||||||
/* Include fundamental fragemt definitions */
|
/* Include fundamental fragment definitions */
|
||||||
%include <typemaps/fragments.swg>
|
%include <typemaps/fragments.swg>
|
||||||
|
|
||||||
/* Look for user fragments file. */
|
/* Look for user fragments file. */
|
||||||
|
|
|
||||||
|
|
@ -258,7 +258,7 @@ static int NAME(TYPE x) {
|
||||||
|
|
||||||
%rename("$ignore", %$isenumitem, %$classname="MyClass") "";
|
%rename("$ignore", %$isenumitem, %$classname="MyClass") "";
|
||||||
|
|
||||||
we use the prefix '%$' to avoid clashings with other swig
|
we use the prefix '%$' to avoid clashes with other swig
|
||||||
macros/directives.
|
macros/directives.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -3,16 +3,16 @@
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
/*
|
/*
|
||||||
This file implements the internal macros of the 'SWIG API', which
|
This file implements the internal macros of the 'SWIG API', which
|
||||||
are useful to implement all the SWIG target languges.
|
are useful to implement all the SWIG target languages.
|
||||||
|
|
||||||
Basic preprocessor macros:
|
Basic preprocessor macros:
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
%arg(Arg) Safe argument wrap
|
%arg(Arg) Safe argument wrap
|
||||||
%str(Arg) Stringtify the argument
|
%str(Arg) Stringify the argument
|
||||||
%begin_block Begin a execution block
|
%begin_block Begin an execution block
|
||||||
%end_block End a execution block
|
%end_block End an execution block
|
||||||
%block(Block) Execute Block as a excecution block
|
%block(Block) Execute Block as an execution block
|
||||||
%define_as(Def, Val) Define 'Def' as 'Val', expanding Def and Val first
|
%define_as(Def, Val) Define 'Def' as 'Val', expanding Def and Val first
|
||||||
%ifcplusplus(V1, V2) if C++ Mode; then V1; else V2; fi
|
%ifcplusplus(V1, V2) if C++ Mode; then V1; else V2; fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
and then include this file.
|
and then include this file.
|
||||||
|
|
||||||
Typically you will create a 'mytypemaps.swg' file in each target
|
Typically you will create a 'mytypemaps.swg' file in each target
|
||||||
languge, where you will have the following sections:
|
language, where you will have the following sections:
|
||||||
|
|
||||||
=== mytypemaps.swg ===
|
=== mytypemaps.swg ===
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1381,13 +1381,13 @@ int SwigType_type(const SwigType *t) {
|
||||||
*
|
*
|
||||||
* 2.- swig doesn't mark 'type' as non-assignable.
|
* 2.- swig doesn't mark 'type' as non-assignable.
|
||||||
*
|
*
|
||||||
* 3.- the user specify that the value wrapper is not needed by using
|
* 3.- the user specifies that the value wrapper is not needed by using
|
||||||
* the %feature("novaluewrapper"), in that case the user need to type
|
* %feature("novaluewrapper") like so:
|
||||||
*
|
*
|
||||||
* %feature("novaluewrapper") MyOpaqueClass;
|
* %feature("novaluewrapper") MyOpaqueClass;
|
||||||
* class MyOpaqueClass;
|
* class MyOpaqueClass;
|
||||||
*
|
*
|
||||||
* Users can also force the use of the value wrapper by using the
|
* The user can also force the use of the value wrapper with
|
||||||
* %feature("valuewrapper").
|
* %feature("valuewrapper").
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue