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:
William S Fulton 2007-08-02 23:18:46 +00:00
commit 08f3b56f9b
2 changed files with 8 additions and 0 deletions

View file

@ -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)