mirror of https://github.com/swig/swig
Fix typos
This commit is contained in:
parent
ab2a8b7379
commit
12708c9241
4
CHANGES
4
CHANGES
|
@ -3303,8 +3303,8 @@ Version 1.3.36 (24 June 2008)
|
|||
Makefile target being generated when generating makefiles with the -M family
|
||||
of options. For example:
|
||||
|
||||
$ swig -java -MM -MT overiddenname -c++ example.i
|
||||
overiddenname: \
|
||||
$ swig -java -MM -MT overriddenname -c++ example.i
|
||||
overriddenname: \
|
||||
example.i \
|
||||
example.h
|
||||
|
||||
|
|
|
@ -7886,7 +7886,7 @@ where it is possible to step from Java code into a JNI method within one environ
|
|||
<p>
|
||||
Alternatively, debugging can involve placing debug printout statements in the JNI layer using the <tt>%exception</tt> directive.
|
||||
See the <a href="Customization.html#Customization_exception_special_variables">special variables for %exception</a> section.
|
||||
Many of the default typemaps can also be overidden and modified for adding in extra logging/debug display information.
|
||||
Many of the default typemaps can also be overridden and modified for adding in extra logging/debug display information.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -258,7 +258,7 @@ this option the default output directory is the path to the input file.
|
|||
If <tt>-o</tt> and
|
||||
<tt>-outcurrentdir</tt> are used together, <tt>-outcurrentdir</tt> is effectively ignored
|
||||
as the output directory for the language files is the same directory as the
|
||||
generated C/C++ file if not overidden with <tt>-outdir</tt>.
|
||||
generated C/C++ file if not overridden with <tt>-outdir</tt>.
|
||||
</p>
|
||||
|
||||
<H3><a name="SWIG_nn5"></a>5.1.3 Comments</H3>
|
||||
|
|
|
@ -96,7 +96,7 @@ public class SwigExtend extends Activity
|
|||
// methods of all these instances are treated the same. For items 0, 1, and
|
||||
// 2, all methods resolve in C++. For item 3, our CEO, getTitle calls
|
||||
// getPosition which resolves in Java. The call to getPosition is
|
||||
// slightly different, however, because of the overidden getPosition() call, since
|
||||
// slightly different, however, because of the overridden getPosition() call, since
|
||||
// now the object reference has been "laundered" by passing through
|
||||
// EmployeeList as an Employee*. Previously, Java resolved the call
|
||||
// immediately in CEO, but now Java thinks the object is an instance of
|
||||
|
|
|
@ -45,7 +45,7 @@ public class runme
|
|||
// methods of all these instances are treated the same. For items 0, 1, and
|
||||
// 2, all methods resolve in C++. For item 3, our CEO, getTitle calls
|
||||
// getPosition which resolves in C#. The call to getPosition is
|
||||
// slightly different, however, because of the overidden getPosition() call, since
|
||||
// slightly different, however, because of the overridden getPosition() call, since
|
||||
// now the object reference has been "laundered" by passing through
|
||||
// EmployeeList as an Employee*. Previously, C# resolved the call
|
||||
// immediately in CEO, but now C# thinks the object is an instance of
|
||||
|
|
|
@ -46,7 +46,7 @@ void main() {
|
|||
// methods of all these instances are treated the same. For items 0, 1, and
|
||||
// 2, all methods resolve in C++. For item 3, our CEO, getTitle calls
|
||||
// getPosition which resolves in D. The call to getPosition is
|
||||
// slightly different, however, because of the overidden getPosition() call, since
|
||||
// slightly different, however, because of the overridden getPosition() call, since
|
||||
// now the object reference has been "laundered" by passing through
|
||||
// EmployeeList as an Employee*. Previously, D resolved the call
|
||||
// immediately in CEO, but now D thinks the object is an instance of
|
||||
|
|
|
@ -46,7 +46,7 @@ void main() {
|
|||
// methods of all these instances are treated the same. For items 0, 1, and
|
||||
// 2, all methods resolve in C++. For item 3, our CEO, getTitle calls
|
||||
// getPosition which resolves in D. The call to getPosition is
|
||||
// slightly different, however, because of the overidden getPosition() call, since
|
||||
// slightly different, however, because of the overridden getPosition() call, since
|
||||
// now the object reference has been "laundered" by passing through
|
||||
// EmployeeList as an Employee*. Previously, D resolved the call
|
||||
// immediately in CEO, but now D thinks the object is an instance of
|
||||
|
|
|
@ -42,7 +42,7 @@ func main() {
|
|||
// treated the same. For items 0, 1, and 2, all methods
|
||||
// resolve in C++. For item 3, our CEO, GetTitle calls
|
||||
// GetPosition which resolves in Go. The call to GetPosition
|
||||
// is slightly different, however, because of the overidden
|
||||
// is slightly different, however, because of the overridden
|
||||
// GetPosition() call, since now the object reference has been
|
||||
// "laundered" by passing through EmployeeList as an
|
||||
// Employee*. Previously, Go resolved the call immediately in
|
||||
|
|
|
@ -55,7 +55,7 @@ public class runme {
|
|||
// methods of all these instances are treated the same. For items 0, 1, and
|
||||
// 2, all methods resolve in C++. For item 3, our CEO, getTitle calls
|
||||
// getPosition which resolves in Java. The call to getPosition is
|
||||
// slightly different, however, because of the overidden getPosition() call, since
|
||||
// slightly different, however, because of the overridden getPosition() call, since
|
||||
// now the object reference has been "laundered" by passing through
|
||||
// EmployeeList as an Employee*. Previously, Java resolved the call
|
||||
// immediately in CEO, but now Java thinks the object is an instance of
|
||||
|
|
|
@ -431,7 +431,7 @@
|
|||
%}
|
||||
|
||||
/* Typecheck typemaps. The purpose of these is merely to issue a
|
||||
warning for overloaded C++ functions * that cannot be overloaded in
|
||||
warning for overloaded C++ functions that cannot be overloaded in
|
||||
Go as more than one C++ type maps to a single Go type. */
|
||||
|
||||
%typecheck(SWIG_TYPECHECK_BOOL) /* Go bool */
|
||||
|
|
|
@ -2513,7 +2513,7 @@ int Language::classHandler(Node *n) {
|
|||
Setattr(m, "parentNode", n);
|
||||
/*
|
||||
* There is a bug that needs fixing still...
|
||||
* This area of code is creating methods which have not been overidden in a derived class (director methods that are protected in the base)
|
||||
* This area of code is creating methods which have not been overridden in a derived class (director methods that are protected in the base)
|
||||
* If the method is overloaded, then Swig_overload_dispatch() incorrectly generates a call to the base wrapper, _wrap_xxx method
|
||||
* See director_protected_overloaded.i - Possibly sym:overname needs correcting here.
|
||||
Printf(stdout, "new method: %s::%s(%s)\n", Getattr(parentNode(m), "name"), Getattr(m, "name"), ParmList_str_defaultargs(Getattr(m, "parms")));
|
||||
|
|
|
@ -3728,7 +3728,7 @@ public:
|
|||
if (builtin)
|
||||
builtin_pre_decl(n);
|
||||
|
||||
/* Overide the shadow file so we can capture its methods */
|
||||
/* Override the shadow file so we can capture its methods */
|
||||
f_shadow = NewString("");
|
||||
|
||||
// Set up type check for director class constructor
|
||||
|
|
|
@ -4,7 +4,7 @@ dnl Set the maximum warning verbosity according to C and C++ compiler used.
|
|||
dnl Currently supports g++ and gcc.
|
||||
dnl
|
||||
dnl The compiler options are always added CFLAGS and CXXFLAGS even if
|
||||
dnl these are overidden at configure time. Removing the maximum warning
|
||||
dnl these are overridden at configure time. Removing the maximum warning
|
||||
dnl flags can be removed with --without-maximum-compile-warnings. For example:
|
||||
dnl
|
||||
dnl ./configure --without-maximum-compile-warnings CFLAGS= CXXFLAGS=
|
||||
|
|
Loading…
Reference in New Issue