mirror of https://github.com/swig/swig
Misc. typo and whitespace fixes
Found via `codespell -q 3 -L "uint,bae,objext,cmo,goin,struc,ois,upto"` whitespaces were unintentionally fixed due to my editors settings. Rebased patch #1327
This commit is contained in:
parent
ad7b591d24
commit
ed28e7cbe2
|
@ -10,7 +10,7 @@
|
|||
// Tag '@endink' must be recognized even if it is not
|
||||
// followed by whitespace.
|
||||
|
||||
/** Tag endlink must be recognized also when followed by nonspace charater.
|
||||
/** Tag endlink must be recognized also when followed by nonspace character.
|
||||
*
|
||||
* @link Connection::getId() @endlink<br> */
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
/**
|
||||
Tag endlink must be recognized also when it is the last token
|
||||
in the commment.
|
||||
in the comment.
|
||||
|
||||
@link Connection::getId() @endlink<br>
|
||||
@link debugIdeTraceProfilerCoverageSample.py Python example. @endlink
|
||||
|
@ -27,7 +27,7 @@
|
|||
int g_zipCode;
|
||||
|
||||
|
||||
// Paramter 'isReportSize' must appear in comment of the overload, which
|
||||
// Parameter 'isReportSize' must appear in comment of the overload, which
|
||||
// has it. Empty line before link must be preserved.
|
||||
/**
|
||||
* Returns address of file line.
|
||||
|
@ -84,7 +84,7 @@
|
|||
*/
|
||||
int getConnection() {return 3;}
|
||||
|
||||
// the follwing must produce no comment in wrapper
|
||||
// the following must produce no comment in wrapper
|
||||
/*******************************************************************/
|
||||
char getFirstLetter() {return 'a';}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ public class doxygen_misc_constructs_runme {
|
|||
"");
|
||||
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.getG_zipCode()",
|
||||
" Tag endlink must be recognized also when it is the last token\n" +
|
||||
" in the commment.\n" +
|
||||
" in the comment.\n" +
|
||||
" \n" +
|
||||
" {@link Connection::getId() }<br>\n" +
|
||||
" {@link debugIdeTraceProfilerCoverageSample.py Python example. }\n" +
|
||||
|
@ -50,14 +50,14 @@ public class doxygen_misc_constructs_runme {
|
|||
"");
|
||||
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.setG_zipCode(int)",
|
||||
" Tag endlink must be recognized also when it is the last token\n" +
|
||||
" in the commment.\n" +
|
||||
" in the comment.\n" +
|
||||
"\n" +
|
||||
" {@link Connection::getId() }<br>\n" +
|
||||
" {@link debugIdeTraceProfilerCoverageSample.py Python example. }\n" +
|
||||
"\n" +
|
||||
"");
|
||||
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.getG_counter()",
|
||||
" Tag endlink must be recognized also when followed by nonspace charater.\n" +
|
||||
" Tag endlink must be recognized also when followed by nonspace character.\n" +
|
||||
"\n" +
|
||||
" {@link Connection::getId() }<br>\n" +
|
||||
"\n" +
|
||||
|
@ -94,7 +94,7 @@ public class doxygen_misc_constructs_runme {
|
|||
"\n" +
|
||||
"");
|
||||
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.setG_counter(char)",
|
||||
" Tag endlink must be recognized also when followed by nonspace charater.\n" +
|
||||
" Tag endlink must be recognized also when followed by nonspace character.\n" +
|
||||
"\n" +
|
||||
" {@link Connection::getId() }<br>\n" +
|
||||
"\n" +
|
||||
|
|
|
@ -6,7 +6,7 @@ local env = _ENV -- Lua 5.2
|
|||
if not env then env = getfenv () end -- Lua 5.1
|
||||
setmetatable(env, {__index=function (t,i) error("undefined global variable `"..i.."'",2) end})
|
||||
|
||||
-- trying to instantiate pure virual classes
|
||||
-- trying to instantiate pure virtual classes
|
||||
-- should fail
|
||||
assert(pcall(abstract_access.A)==false)
|
||||
assert(pcall(abstract_access.B)==false)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#
|
||||
# Ruby's GC is somewhat broken in that it will mark some more stack space
|
||||
# leading to the collection of local objects to be delayed.
|
||||
# Thus, upon invokation, it sometimes you can wait up to several
|
||||
# Thus, upon invocation, it sometimes you can wait up to several
|
||||
# instructions to kick in.
|
||||
# See: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7449
|
||||
#
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Ruby's GC is somewhat broken in that it will mark some more stack space
|
||||
# leading to the collection of local objects to be delayed.
|
||||
# Thus, upon invokation, it sometimes you can wait up to several
|
||||
# Thus, upon invocation, it sometimes you can wait up to several
|
||||
# instructions to kick in.
|
||||
# See: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7449
|
||||
#
|
||||
|
|
|
@ -21,7 +21,7 @@ end
|
|||
|
||||
def swig_assert_simple(a)
|
||||
unless a
|
||||
raise SwigRubyError.new("assertion falied.")
|
||||
raise SwigRubyError.new("assertion failed.")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
%module template_virtual
|
||||
|
||||
// Submitted by Marcelo Matus
|
||||
// assertion emmitted with templates + derivation + pure virtual member
|
||||
// assertion emitted with templates + derivation + pure virtual member
|
||||
// allocate.cxx:47: int Allocate::is_abstract_inherit(Node*, Node*):
|
||||
// Assertion `dn' failed.
|
||||
|
||||
|
|
|
@ -415,7 +415,7 @@ public:
|
|||
threads = 1;
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i], "-nothreads") == 0) {
|
||||
/* Turn off thread suppor mode */
|
||||
/* Turn off thread support mode */
|
||||
nothreads = 1;
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i], "-safecstrings") == 0) {
|
||||
|
|
Loading…
Reference in New Issue