1.1 --- a/templates/native/locale.c Thu Nov 04 23:44:29 2021 +0100
1.2 +++ b/templates/native/locale.c Tue Aug 29 01:46:23 2023 +0200
1.3 @@ -1,6 +1,6 @@
1.4 /* Native functions for locale handling.
1.5
1.6 -Copyright (C) 2016, 2017, 2021 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2016, 2017, 2021, 2023 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 @@ -29,7 +29,7 @@
1.12
1.13 /* Locales. */
1.14
1.15 -__attr __fn_native_locale_getlocale(__attr __self, __attr category)
1.16 +__attr __fn_native_locale_getlocale(__attr __result, __attr __self, __attr category)
1.17 {
1.18 /* category interpreted as int */
1.19 int cat = __TOINT(category);
1.20 @@ -48,7 +48,7 @@
1.21 return __new_str(result, length);
1.22 }
1.23
1.24 -__attr __fn_native_locale_setlocale(__attr __self, __attr category, __attr value)
1.25 +__attr __fn_native_locale_setlocale(__attr __result, __attr __self, __attr category, __attr value)
1.26 {
1.27 /* category interpreted as int */
1.28 int cat = __TOINT(category);