projects
/
external
/
swig.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import source from 1.3.40
[external/swig.git]
/
Examples
/
test-suite
/
lua
/
ret_by_value_runme.lua
1
require("import") -- the import fn
2
import("ret_by_value") -- import code
3
4
a = ret_by_value.get_test()
5
assert(a.myInt == 100)
6
assert(a.myShort == 200)