nicer code separation, cleanup logic, std::function type caster
diff --git a/example/example5.py b/example/example5.py
index b119de9..c645af2 100755
--- a/example/example5.py
+++ b/example/example5.py
@@ -22,6 +22,8 @@
from example import test_callback1
from example import test_callback2
from example import test_callback3
+from example import test_callback4
+from example import test_callback5
from example import Example5
def func1():
@@ -43,3 +45,7 @@
callback = MyCallback(3)
test_callback3(callback, 4)
+
+test_callback4(lambda i: i+1)
+f = test_callback5()
+print("func(43) = %i" % f(43))