summaryrefslogtreecommitdiffstats
path: root/xml/test/test_prop2.py
blob: 8a3ebf6d743bb37620512dc7a681f999ed43c9a5 (plain)
1
2
3
4
5
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')