mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-06 06:11:25 +00:00
added a few basic number types
This commit is contained in:
@@ -29,8 +29,8 @@ from example import Example5
|
||||
def func1():
|
||||
print('Callback function 1 called!')
|
||||
|
||||
def func2(a, b, c):
|
||||
print('Callback function 2 called : ' + str(a) + ", " + str(b) + ", "+ str(c))
|
||||
def func2(a, b, c, d):
|
||||
print('Callback function 2 called : ' + str(a) + ", " + str(b) + ", " + str(c) + ", "+ str(d))
|
||||
return c
|
||||
|
||||
class MyCallback(Example5):
|
||||
|
||||
Reference in New Issue
Block a user