Spelling fix

This commit is contained in:
William S Fulton 2014-10-21 07:55:07 +01:00
commit 3dcc501ac0
9 changed files with 20 additions and 20 deletions

24
CHANGES
View file

@ -1622,7 +1622,7 @@ Version 2.0.5 (19 April 2012)
-tmsearch and -tmused. -tmsearch and -tmused.
2011-08-26: wsfulton 2011-08-26: wsfulton
[C#, D] Fix %callback which was generating uncompileable code. [C#, D] Fix %callback which was generating uncompilable code.
2011-08-25: wsfulton 2011-08-25: wsfulton
Fix constructors in named typedef class declarations as reported by Gregory Bronner: Fix constructors in named typedef class declarations as reported by Gregory Bronner:
@ -1861,7 +1861,7 @@ Version 2.0.4 (21 May 2011)
PySlice_GetIndices, which changed signatures in python3.2. PySlice_GetIndices, which changed signatures in python3.2.
2011-04-07: wsfulton 2011-04-07: wsfulton
Fix wrapping of const array typedefs which were generating uncompileable code as Fix wrapping of const array typedefs which were generating uncompilable code as
reported by Karl Wette. reported by Karl Wette.
2011-04-03: szager 2011-04-03: szager
@ -2299,7 +2299,7 @@ Version 2.0.1 (4 October 2010)
in this case). in this case).
2010-06-03: wsfulton 2010-06-03: wsfulton
Fix uncompileable code when %rename results in two enum items Fix uncompilable code when %rename results in two enum items
with the same name. Reported by Vadim Zeitlin. with the same name. Reported by Vadim Zeitlin.
Version 2.0.0 (2 June 2010) Version 2.0.0 (2 June 2010)
@ -2812,7 +2812,7 @@ Version 2.0.0 (2 June 2010)
Fix #2310483 - function pointer typedef within extern "C" block. Fix #2310483 - function pointer typedef within extern "C" block.
2009-11-13: wsfulton 2009-11-13: wsfulton
Fix usage of nested template classes within templated classes so that compileable code Fix usage of nested template classes within templated classes so that compilable code
is generated. is generated.
2009-11-13: olly 2009-11-13: olly
@ -2820,7 +2820,7 @@ Version 2.0.0 (2 June 2010)
wasn't being used. Patch from gverbruggen in SF#2892647. wasn't being used. Patch from gverbruggen in SF#2892647.
2009-11-12: wsfulton 2009-11-12: wsfulton
Fix usage of nested template classes so that compileable code is generated - the nested Fix usage of nested template classes so that compilable code is generated - the nested
template class is now treated like a normal nested classes, that is, as an opaque type template class is now treated like a normal nested classes, that is, as an opaque type
unless the nestedworkaround feature is used. unless the nestedworkaround feature is used.
@ -2846,7 +2846,7 @@ Version 2.0.0 (2 June 2010)
2009-11-11: wsfulton 2009-11-11: wsfulton
There were a number of C++ cases where nested classes/structs/unions were being handled There were a number of C++ cases where nested classes/structs/unions were being handled
as if C code was being parsed which would oftentimes lead to uncompileable code as an as if C code was being parsed which would oftentimes lead to uncompilable code as an
attempt was made to wrap the nested structs like it is documented for C code. Now all attempt was made to wrap the nested structs like it is documented for C code. Now all
nested structs/classes/unions are ignored in C++ mode, as was always documented. However, nested structs/classes/unions are ignored in C++ mode, as was always documented. However,
there is an improvement as usage of nested structs/classes/unions is now always treated there is an improvement as usage of nested structs/classes/unions is now always treated
@ -2858,7 +2858,7 @@ Version 2.0.0 (2 June 2010)
Fix R for -fcompact and add std_map.i Fix R for -fcompact and add std_map.i
2009-11-08: wsfulton 2009-11-08: wsfulton
Fix inconsistency for nested structs/unions/classes. Uncompileable code was being Fix inconsistency for nested structs/unions/classes. Uncompilable code was being
generated when inner struct and union declarations were used as types within the generated when inner struct and union declarations were used as types within the
inner struct. The inner struct/union is now treated as a forward declaration making the inner struct. The inner struct/union is now treated as a forward declaration making the
behaviour the same as an inner class. (C++ code), eg: behaviour the same as an inner class. (C++ code), eg:
@ -2872,7 +2872,7 @@ Version 2.0.0 (2 June 2010)
Ignored nested class/struct warnings now display the name of the ignored class/struct. Ignored nested class/struct warnings now display the name of the ignored class/struct.
2009-11-07: wsfulton 2009-11-07: wsfulton
Bug #1514681 - Fix nested template classes within a namespace generated uncompileable Bug #1514681 - Fix nested template classes within a namespace generated uncompilable
code and introduced strange side effects to other wrapper code especially code code and introduced strange side effects to other wrapper code especially code
after the nested template class. Note that nested template classes are still ignored. after the nested template class. Note that nested template classes are still ignored.
@ -3727,7 +3727,7 @@ Version 1.3.36 (24 June 2008)
06/19/2008: wsfulton 06/19/2008: wsfulton
[Java, C#] C# and Java keywords will be renamed instead of just issuing a warning [Java, C#] C# and Java keywords will be renamed instead of just issuing a warning
and then generating uncompileable code. Warning 314 gives the new name when a and then generating uncompilable code. Warning 314 gives the new name when a
keyword is found. keyword is found.
06/19/2008: wsfulton 06/19/2008: wsfulton
@ -4170,7 +4170,7 @@ Version 1.3.34 (27 February 2008)
11/30/2007: wsfulton 11/30/2007: wsfulton
Fix using statements using a base class method where the methods were overloaded. Fix using statements using a base class method where the methods were overloaded.
Depending on the order of the using statements and method declarations, these Depending on the order of the using statements and method declarations, these
were previously generating uncompileable wrappers, eg: were previously generating uncompilable wrappers, eg:
struct Derived : Base { struct Derived : Base {
virtual void funk(); virtual void funk();
@ -5258,7 +5258,7 @@ Version 1.3.30 (November 13, 2006)
10/03/2006: wsfulton 10/03/2006: wsfulton
[Ruby] Fix #1527885 - Overloaded director virtual methods sometimes produced [Ruby] Fix #1527885 - Overloaded director virtual methods sometimes produced
uncompileable code when used with the director:except feature. uncompilable code when used with the director:except feature.
10/03/2006: wsfulton 10/03/2006: wsfulton
Directors: Directors are output in the order in which they are declared in Directors: Directors are output in the order in which they are declared in
@ -10842,7 +10842,7 @@ Version 1.3.22 (September 4, 2004)
... ...
} }
Previously, none of BIG, LARGE or BAR would have produced compileable code Previously, none of BIG, LARGE or BAR would have produced compilable code
when using %javaconst(1). when using %javaconst(1).
06/27/2004: wsfulton 06/27/2004: wsfulton

View file

@ -3316,7 +3316,7 @@ Most importantly, define a type before it is used! A C compiler will tell you
if the full type information is not available if it is needed, whereas if the full type information is not available if it is needed, whereas
SWIG will usually not warn or error out as it is designed to work without SWIG will usually not warn or error out as it is designed to work without
full type information. However, if type information is not specified full type information. However, if type information is not specified
correctly, the wrappers can be sub-optimal and even result in uncompileable C/C++ code. correctly, the wrappers can be sub-optimal and even result in uncompilable C/C++ code.
<li>If your program has a main() function, you may need to rename it <li>If your program has a main() function, you may need to rename it
(read on). (read on).

View file

@ -1184,7 +1184,7 @@ public:
</div> </div>
<p> <p>
This produces uncompileable wrapper code because default values in C++ are This produces uncompilable wrapper code because default values in C++ are
evaluated in the same scope as the member function whereas SWIG evaluated in the same scope as the member function whereas SWIG
evaluates them in the scope of a wrapper function (meaning that the evaluates them in the scope of a wrapper function (meaning that the
values have to be public). values have to be public).

View file

@ -21,7 +21,7 @@ UVW Bar::static_member_variable;
%} %}
// Now test the allowexcept feature by making the usual $action uncompileable and ensuring the %exception is picked up // Now test the allowexcept feature by making the usual $action uncompilable and ensuring the %exception is picked up
struct XYZ { struct XYZ {
}; };

View file

@ -2,7 +2,7 @@
%warnfilter(SWIGWARN_PARSE_REDEFINED) S_May; %warnfilter(SWIGWARN_PARSE_REDEFINED) S_May;
// %rename using regex can do the equivalent of these two renames, which was resulting in uncompileable code // %rename using regex can do the equivalent of these two renames, which was resulting in uncompilable code
%rename(May) M_May; %rename(May) M_May;
%rename(May) S_May; %rename(May) S_May;

View file

@ -1,6 +1,6 @@
%module exception_partial_info %module exception_partial_info
// This produced compileable code for Tcl, Python in 1.3.27, fails in 1.3.29 // This produced compilable code for Tcl, Python in 1.3.27, fails in 1.3.29
%{ %{
#if defined(_MSC_VER) #if defined(_MSC_VER)

View file

@ -93,7 +93,7 @@ struct OverAfter {
// %extend overrides the class definition // %extend overrides the class definition
%extend Override { %extend Override {
int over(int a) { return a*a; } // SWIG should give a warning then choose this one over the real one int over(int a) { return a*a; } // SWIG should give a warning then choose this one over the real one
int overload(int a) { return a*a; } // Similarly, but this one generated uncompileable code in SWIG-1.3.22 int overload(int a) { return a*a; } // Similarly, but this one generated uncompilable code in SWIG-1.3.22
} }
%inline %{ %inline %{
struct Override { struct Override {

View file

@ -137,7 +137,7 @@
// //
// Define SWIG_ATTRIBUTE_TEMPLATE if you want to use templates instead of macros for the C++ get and set wrapper methods // Define SWIG_ATTRIBUTE_TEMPLATE if you want to use templates instead of macros for the C++ get and set wrapper methods
// Does not always generate compileable code, use at your peril! // Does not always generate compilable code, use at your peril!
// //
//#define SWIG_ATTRIBUTE_TEMPLATE //#define SWIG_ATTRIBUTE_TEMPLATE

View file

@ -2043,7 +2043,7 @@ int Language::classDirectorConstructors(Node *n) {
needed, since there is a public constructor already defined. needed, since there is a public constructor already defined.
(scottm) This code is needed here to make the director_abstract + (scottm) This code is needed here to make the director_abstract +
test generate compileable code (Example2 in director_abastract.i). test generate compilable code (Example2 in director_abastract.i).
(mmatus) This is very strange, since swig compiled with gcc3.2.3 (mmatus) This is very strange, since swig compiled with gcc3.2.3
doesn't need it here.... doesn't need it here....