*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e92b18f9d8
commit
f05a0ad570
1 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ set b [new_int 42]
|
|||
set c [new_int 0]
|
||||
add $a $b $c
|
||||
set r [get_int $c]
|
||||
print "Result = $r"
|
||||
puts "Result = $r"
|
||||
delete_int $a
|
||||
delete_int $b
|
||||
delete_int $c
|
||||
|
|
@ -87,7 +87,7 @@ set b [ptrcreate int 42]
|
|||
set c [ptrcreate int]
|
||||
add $a $b $c
|
||||
set r [ptrvalue $c]
|
||||
print "Result = $r"
|
||||
puts "Result = $r"
|
||||
ptrfree $a
|
||||
ptrfree $b
|
||||
ptrfree $c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue