# #type = Type (Type.type_int(), Type.Traits()) #func.add_param_type (type) # #value = Value() #value.set_int (123) # #list = List() #list.append (value) # #func.call (list) import myelin myelin.add_repository ("LibraryTest", "/devel/build/Myelin/libLibraryTest.so") from myelin.repository import LibraryTest class Test (LibraryTest.Test1): def call (self, arg): print arg return 102 test1 = Test() test2 = LibraryTest.Test2() test2.call_me (test1)
import myelin myelin.add_repository ("SimpleTest", "/devel/build/Myelin/libSimpleTest.so") from myelin.repository import SimpleTest test = SimpleTest.Test() test.test1() print test.test2() val = test.test3() print val.get() val = test.test4() print val.get() val = test.test5() print val.get() test.test6 (val)