1.1 --- a/templates/native/identity.c Thu Nov 04 23:44:29 2021 +0100
1.2 +++ b/templates/native/identity.c Tue Aug 29 01:46:23 2023 +0200
1.3 @@ -1,6 +1,6 @@
1.4 /* Native functions for identity operations.
1.5
1.6 -Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2016, 2017, 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 @@ -26,14 +26,14 @@
1.12
1.13 /* Identity testing. */
1.14
1.15 -__attr __fn_native_identity_is_(__attr __self, __attr x, __attr y)
1.16 +__attr __fn_native_identity_is_(__attr __result, __attr __self, __attr x, __attr y)
1.17 {
1.18 /* NOTE: value member assumed equivalent to intvalue for comparison. */
1.19
1.20 return x.value == y.value ? __builtins___boolean_True : __builtins___boolean_False;
1.21 }
1.22
1.23 -__attr __fn_native_identity_is_not(__attr __self, __attr x, __attr y)
1.24 +__attr __fn_native_identity_is_not(__attr __result, __attr __self, __attr x, __attr y)
1.25 {
1.26 /* NOTE: value member assumed equivalent to intvalue for comparison. */
1.27