1.1 --- a/templates/ops.h Fri Feb 17 18:49:57 2017 +0100
1.2 +++ b/templates/ops.h Fri Feb 17 18:52:18 2017 +0100
1.3 @@ -73,7 +73,8 @@
1.4 __attr __test_context(__ref context, __attr attr);
1.5 __attr __update_context(__ref context, __attr attr);
1.6
1.7 -#define __set_context(__ATTR) (__tmp_context = (__ATTR).value)
1.8 +#define __get_context(__TARGET) (__tmp_contexts[__TARGET])
1.9 +#define __set_context(__TARGET, __ATTR) (__tmp_contexts[__TARGET] = (__ATTR).value)
1.10 #define __set_accessor(__ATTR) (__tmp_value = (__ATTR).value)
1.11 #define __set_target_accessor(__ATTR) (__tmp_target_value = (__ATTR).value)
1.12