[lua] Added a typemap DISOWN for SWIGTYPE* and SWIGTYPE[], and support for %delobject feature.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
97b910d726
commit
11647d87e8
14 changed files with 377 additions and 19 deletions
|
|
@ -19,6 +19,6 @@ for i=0,100 do
|
|||
a(i) -- Note: function call
|
||||
b(math.sqrt(i)) -- Note: function call
|
||||
end
|
||||
print("int sum 0..100 is",a:result(),"(expected 5050")
|
||||
print("int sum 0..100 is",a:result(),"(expected 5050)")
|
||||
print("double sum 0..100 is",b:result(),"(expected ~771.46)")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue