Misc. typos
found via `codespell` and `grep`
This commit is contained in:
parent
3eb41c9beb
commit
60dfa31a67
90 changed files with 155 additions and 155 deletions
|
|
@ -32,8 +32,8 @@ assert(is_std_string(cobj) and cobj:c_str()=="x") -- check type & value
|
|||
|
||||
test_const_pointer(cobj)
|
||||
|
||||
-- this shouldnt work, but it does
|
||||
-- swig doesnt appear to diff between const object ptrs & object ptrs very well
|
||||
-- this shouldn't work, but it does
|
||||
-- swig doesn't appear to diff between const object ptrs & object ptrs very well
|
||||
test_pointer(cobj) -- this wants an non const object (give it a const one!)
|
||||
|
||||
-- refs are also wrappered as ptrs (unless the correct typemaps are applied)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
require("import") -- the import fn
|
||||
import("newobject2",true) -- import code
|
||||
|
||||
foo1 = newobject2.makeFoo() -- lua doesnt yet support static fns properly
|
||||
assert(newobject2.fooCount() == 1) -- lua doesnt yet support static fns properly
|
||||
foo1 = newobject2.makeFoo() -- lua doesn't yet support static fns properly
|
||||
assert(newobject2.fooCount() == 1) -- lua doesn't yet support static fns properly
|
||||
|
||||
foo2 = newobject2.makeFoo()
|
||||
assert(newobject2.fooCount() == 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue