1.1 --- a/templates/native/list.c Mon Feb 04 18:53:56 2019 +0100
1.2 +++ b/templates/native/list.c Mon May 20 13:12:25 2019 +0200
1.3 @@ -1,6 +1,6 @@
1.4 /* Native functions for list operations.
1.5
1.6 -Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2016, 2017, 2019 Paul Boddie <paul@boddie.org.uk>
1.8
1.9 This program is free software; you can redistribute it and/or modify it under
1.10 the terms of the GNU General Public License as published by the Free Software
1.11 @@ -56,7 +56,7 @@
1.12
1.13 /* Replace the __data__ attribute if appropriate. */
1.14 if (newdata != data)
1.15 - __store_via_object(__VALUE(self), __data__, ((__attr) {.seqvalue=newdata}));
1.16 + __store_member(__VALUE(self), __data__, ((__attr) {.seqvalue=newdata}));
1.17 return __builtins___none_None;
1.18 }
1.19
1.20 @@ -84,7 +84,7 @@
1.21
1.22 /* Replace the __data__ attribute if appropriate. */
1.23 if (newdata != data)
1.24 - __store_via_object(__VALUE(self), __data__, ((__attr) {.seqvalue=newdata}));
1.25 + __store_member(__VALUE(self), __data__, ((__attr) {.seqvalue=newdata}));
1.26 return __builtins___none_None;
1.27 }
1.28