calling the callback functions directly added to the example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6a13675c16
commit
08f3b56f9b
2 changed files with 8 additions and 0 deletions
|
|
@ -18,3 +18,7 @@ print "Here is what the C callback function objects look like in Python"
|
|||
print " ADD =", example.ADD
|
||||
print " SUB =", example.SUB
|
||||
print " MUL =", example.MUL
|
||||
|
||||
print "Call the functions directly..."
|
||||
print " add(a,b) =", example.add(a,b)
|
||||
print " sub(a,b) =", example.sub(a,b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue