1.1 --- a/templates/native/list.c Tue May 21 16:59:25 2024 +0200
1.2 +++ b/templates/native/list.c Tue May 21 17:02:10 2024 +0200
1.3 @@ -1,6 +1,6 @@
1.4 /* Native functions for list operations.
1.5
1.6 -Copyright (C) 2016, 2017, 2021, 2023 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2016, 2017, 2021, 2023, 2024 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 @@ -120,7 +120,7 @@
1.12 __int i = __TOINT(index);
1.13
1.14 /* Set the element. */
1.15 - elements[i] = value;
1.16 + __set_attr(&elements[i], value);
1.17 return __builtins___none_None;
1.18 }
1.19