diff --git a/Doc/Manual/CSharp.html b/Doc/Manual/CSharp.html index 15e89e517..e710e66b5 100644 --- a/Doc/Manual/CSharp.html +++ b/Doc/Manual/CSharp.html @@ -2751,7 +2751,7 @@ public class ExtendMe : global::System.IDisposable {

C# enums use int as the underlying type for each enum item. If you wish to change the underlying type to something else, then use the csbase typemap. -For example when your C++ code uses a value larget than int, this is necessary as the C# compiler will not compile values which are too large to fit into an int. +For example when your C++ code uses a value larger than int, this is necessary as the C# compiler will not compile values which are too large to fit into an int. Here is an example:

diff --git a/Doc/Manual/Extending.html b/Doc/Manual/Extending.html index aafc650f6..f752ebbdc 100644 --- a/Doc/Manual/Extending.html +++ b/Doc/Manual/Extending.html @@ -278,7 +278,7 @@ or perl5.swg.

-As a debugging aide, the text that SWIG feeds to its C++ parser can be +As a debugging aid, the text that SWIG feeds to its C++ parser can be obtained by running swig -E interface.i. This output probably isn't too useful in general, but it will show how macros have been expanded as well as everything else that goes into the low-level diff --git a/Doc/Manual/Go.html b/Doc/Manual/Go.html index c5efe8265..4a60e45e0 100644 --- a/Doc/Manual/Go.html +++ b/Doc/Manual/Go.html @@ -611,7 +611,7 @@ work is necessary.

-This subchapter gives a step by step guide how to properly sublass a C++ class +This subchapter gives a step by step guide how to properly subclass a C++ class with a Go type. In general it is strongly recommended to follow this guide completely to avoid common pitfalls with directors in Go.

diff --git a/Doc/Manual/Java.html b/Doc/Manual/Java.html index 18a6c424e..4c7b6d058 100644 --- a/Doc/Manual/Java.html +++ b/Doc/Manual/Java.html @@ -3877,7 +3877,7 @@ Or target all wrapped methods using: This tells SWIG to generate a C++ catch handler using some code from the throws typemap for Swig::DirectorException that SWIG supplies by default, see Exception handling with %catches. This typemap code is written to simply catch the C++ Swig::DirectorException class and immediately return to Java throwing the original Java exception that it has stored. -The net result is a stack trace containing the original Java exception including the location that the exception was thown from. +The net result is a stack trace containing the original Java exception including the location that the exception was thrown from.

diff --git a/Doc/Manual/Lisp.html b/Doc/Manual/Lisp.html index 0d9e3dc4f..2e6ca8dda 100644 --- a/Doc/Manual/Lisp.html +++ b/Doc/Manual/Lisp.html @@ -650,7 +650,7 @@ swig -clisp -module module-name file-name generated by SWIG may not be absolutely correct, and you may need to modify them. The good thing is that you don't need to complex interface file for the CLISP module. The CLISP module tries to - produce code which is both human readable and easily modifyable. + produce code which is both human readable and easily modifiable.

28.3.1 Additional Commandline Options

diff --git a/Doc/Manual/Typemaps.html b/Doc/Manual/Typemaps.html index 093ff7e95..ed5591da5 100644 --- a/Doc/Manual/Typemaps.html +++ b/Doc/Manual/Typemaps.html @@ -1360,7 +1360,7 @@ Below is a list of the typical default types supplied by language modules, showi %typemap(in) SWIGTYPE * { ... default pointer handling ... }; %typemap(in) SWIGTYPE *const { ... default pointer const handling ... }; %typemap(in) SWIGTYPE *const& { ... default pointer const reference handling ... }; -%typemap(in) SWIGTYPE[ANY] { ... 1D fixed size arrays handlling ... }; +%typemap(in) SWIGTYPE[ANY] { ... 1D fixed size arrays handling ... }; %typemap(in) SWIGTYPE [] { ... unknown sized array handling ... }; %typemap(in) enum SWIGTYPE { ... default handling for enum values ... }; %typemap(in) const enum SWIGTYPE & { ... default handling for const enum reference values ... }; diff --git a/Lib/java/various.i b/Lib/java/various.i index 76fb2b129..24796ba84 100644 --- a/Lib/java/various.i +++ b/Lib/java/various.i @@ -129,7 +129,7 @@ /* * char *BYTE typemaps. * These are input typemaps for mapping a Java byte[] array to a C char array. - * Note that as a Java array is used and thus passeed by reference, the C routine + * Note that as a Java array is used and thus passed by reference, the C routine * can return data to Java via the parameter. * * Example usage wrapping: diff --git a/Lib/python/std_unordered_map.i b/Lib/python/std_unordered_map.i index 53f6aa283..bec7d165d 100644 --- a/Lib/python/std_unordered_map.i +++ b/Lib/python/std_unordered_map.i @@ -31,7 +31,7 @@ SwigVar_PyObject items = PyObject_CallMethod(obj,(char *)"items",NULL); %#if PY_VERSION_HEX >= 0x03000000 /* In Python 3.x the ".items()" method return a dict_items object */ - items = PySequence_Fast(items, ".items() havn't returned a sequence!"); + items = PySequence_Fast(items, ".items() haven't returned a sequence!"); %#endif res = traits_asptr_stdseq, std::pair >::asptr(items, val); } else { diff --git a/Lib/ruby/ruby.swg b/Lib/ruby/ruby.swg index efa8ec2f7..d1335974e 100644 --- a/Lib/ruby/ruby.swg +++ b/Lib/ruby/ruby.swg @@ -14,7 +14,7 @@ /* Constants created by %constant or #define are UPPER_CASE */ %rename("%(uppercase)s", %$isconstant) ""; -/* SWIG only considers static class members with inline intializers +/* SWIG only considers static class members with inline initializers to be constants. For examples of what is and isn't considered a constant by SWIG see naming.i in the Ruby test suite. */ %rename("%(uppercase)s", %$ismember, %$isvariable,%$isimmutable,%$isstatic,%$hasvalue,%$hasconsttype) ""; diff --git a/Lib/std/std_common.i b/Lib/std/std_common.i index 05bc4325a..708f3ceed 100644 --- a/Lib/std/std_common.i +++ b/Lib/std/std_common.i @@ -5,7 +5,7 @@ // //#define SWIG_STD_MODERN_STL // -// Use this to deactive the previous definition, when using gcc-2.95 +// Use this to deactivate the previous definition, when using gcc-2.95 // or similar old compilers. // //#define SWIG_STD_NOMODERN_STL diff --git a/Source/Modules/javascript.cxx b/Source/Modules/javascript.cxx index 0840dd5f4..8c87330b7 100644 --- a/Source/Modules/javascript.cxx +++ b/Source/Modules/javascript.cxx @@ -553,7 +553,7 @@ void JAVASCRIPT::main(int argc, char *argv[]) { emitter = swig_javascript_create_V8Emitter(); Preprocessor_define("SWIG_JAVASCRIPT_V8 1", 0); SWIG_library_directory("javascript/v8"); - // V8 API is C++, so output must be C++ compatibile even when wrapping C code + // V8 API is C++, so output must be C++ compatible even when wrapping C code if (!cparse_cplusplus) { Swig_cparse_cplusplusout(1); } @@ -2038,7 +2038,7 @@ int V8Emitter::exitClass(Node *n) { .pretty_print(f_init_inheritance); Delete(base_name_mangled); } - // emit registeration of class template + // emit registration of class template Template t_register = getTemplate("jsv8_register_class"); t_register.replace("$jsmangledname", state.clazz(NAME_MANGLED)) .replace("$jsname", state.clazz(NAME)) diff --git a/Source/Modules/lang.cxx b/Source/Modules/lang.cxx index 4be4478e7..37ce54a75 100644 --- a/Source/Modules/lang.cxx +++ b/Source/Modules/lang.cxx @@ -3521,7 +3521,7 @@ int Language::need_nonpublic_ctor(Node *n) { Note: given all the complications here, I am always in favor to always enable 'dirprot', since is the C++ idea of protected - members, and use %ignore for the method you don't whan to add in + members, and use %ignore for the method you don't want to add in the director class. */ if (directorsEnabled()) { diff --git a/Source/Modules/lua.cxx b/Source/Modules/lua.cxx index 927b67953..188b11c2b 100644 --- a/Source/Modules/lua.cxx +++ b/Source/Modules/lua.cxx @@ -2110,7 +2110,7 @@ public: // variable in resulting file getCArraysHash(0); } - // Because we cant access directly 'symtabs', instead we access + // Because we can't directly access 'symtabs', instead we access // top-level scope and look on all scope pseudo-symbols in it. Hash *top_scope = symbolScopeLookup(""); assert(top_scope); @@ -2193,7 +2193,7 @@ public: String *luaCurrentSymbolNSpace() { String *scope = 0; - // If ouside class, than NSpace is used. + // If outside class, than NSpace is used. // If inside class, but current[NO_CPP], then this is friend function. It belongs to NSpace if (!getCurrentClass() || current[NO_CPP]) { scope = getNSpace(); diff --git a/Source/Modules/octave.cxx b/Source/Modules/octave.cxx index 0d7168225..81434ce0b 100644 --- a/Source/Modules/octave.cxx +++ b/Source/Modules/octave.cxx @@ -139,7 +139,7 @@ public: SWIG_typemap_lang("octave"); allow_overloading(); - // Octave API is C++, so output must be C++ compatibile even when wrapping C code + // Octave API is C++, so output must be C++ compatible even when wrapping C code if (!cparse_cplusplus) Swig_cparse_cplusplusout(1); } diff --git a/Tools/config/ax_boost_base.m4 b/Tools/config/ax_boost_base.m4 index f3279f2b7..0e0f266dc 100644 --- a/Tools/config/ax_boost_base.m4 +++ b/Tools/config/ax_boost_base.m4 @@ -10,7 +10,7 @@ # # Test for the Boost C++ libraries of a particular version (or newer) # -# If no path to the installed boost library is given the macro searchs +# If no path to the installed boost library is given the macro searches # under /usr, /usr/local, /opt and /opt/local and evaluates the # $BOOST_ROOT environment variable. Further documentation is available at # .