1 Include('wrappertest_wrappers.h')
3 f = Function('wrappertest::Range', 'wrappertest.h')
4 set_wrapper(f, 'RangeWrapper')
6 mul = Wrapper('MulWrapper',
8 list MulWrapper(wrappertest::C& c, int value){
9 return VectorToList(c.Mul(value));
14 C = Class('wrappertest::C', 'wrappertest.h')
15 set_wrapper(C.Mul, mul)
18 A = Class('wrappertest::A', 'wrappertest.h')
19 set_wrapper(A.f, 'f_wrapper')
21 Function('wrappertest::call_foo', 'wrappertest.h')