1.1 --- a/templates/ops.h Mon Jul 16 23:00:47 2018 +0200
1.2 +++ b/templates/ops.h Sat Jul 21 23:19:26 2018 +0200
1.3 @@ -107,10 +107,11 @@
1.4 __attr __test_context_revert(int target, __attr context, __attr attr, __attr contexts[]);
1.5 __attr __test_context_static(int target, __attr context, __ref value, __attr contexts[]);
1.6
1.7 +#define __get_accessor(__TARGET) (__tmp_values[__TARGET])
1.8 #define __get_context(__TARGET) (__tmp_contexts[__TARGET])
1.9 #define __set_context(__TARGET, __ATTR) (__tmp_contexts[__TARGET] = (__ATTR))
1.10 #define __set_private_context(__ATTR) (__tmp_private_context = (__ATTR))
1.11 -#define __set_accessor(__ATTR) (__tmp_value = (__ATTR))
1.12 +#define __set_accessor(__TARGET, __ATTR) (__tmp_values[__TARGET] = (__ATTR))
1.13 #define __set_target_accessor(__ATTR) (__tmp_target_value = (__ATTR))
1.14
1.15 /* Context testing for invocations. */