import Values # # Test module # Illustrate both instatiation and use of already instantiated C++ objects # def myfunc(cppObj): # Test the object exposed from c++ (Passed as a formal parameter) # Get a and b values a = cppObj.get_a() b = cppObj.get_b() # inrement values a = a + 5 b = a - 2 # set values back in object cppObj.set_a(a) cppObj.set_b(b)