templates/ops.c | raw changeset files shortlog |
1.1 --- a/templates/ops.c Tue Apr 11 21:50:39 2017 +0200 1.2 +++ b/templates/ops.c Mon May 01 23:35:01 2017 +0200 1.3 @@ -85,6 +85,11 @@ 1.4 return 1; 1.5 } 1.6 1.7 +int __store_via_class__(__ref obj, int pos, __attr value) 1.8 +{ 1.9 + return __store_via_object__(__get_class(obj), pos, value); 1.10 +} 1.11 + 1.12 int __get_class_and_store__(__ref obj, int pos, __attr value) 1.13 { 1.14 /* Forbid class-relative assignments. */