templates/ops.c | raw changeset files shortlog |
1.1 --- a/templates/ops.c Thu Nov 24 00:58:36 2016 +0100 1.2 +++ b/templates/ops.c Thu Nov 24 18:55:10 2016 +0100 1.3 @@ -53,6 +53,11 @@ 1.4 return __load_via_object(obj, __pos___class__).value; 1.5 } 1.6 1.7 +__attr __get_class_attr(__ref obj) 1.8 +{ 1.9 + return __load_via_object(obj, __pos___class__); 1.10 +} 1.11 + 1.12 /* Attribute testing operations. */ 1.13 1.14 __ref __test_specific_instance(__ref obj, __ref type)