summaryrefslogtreecommitdiffstats
path: root/xml/test_pywrap/test_prop2.py
blob: d78dbea7b23621c3fb0203c7a79b8089c11d95ef (plain)
1
2
3
4
5
6
def read_from_register(ctx, value):
   return ctx.get_property('/test/prop3') / 2
    
def write_to_register(ctx, value):
    ctx.set_property(value*2, '/test/prop3')