1.1 --- a/templates/ops.h Thu Nov 04 23:44:29 2021 +0100
1.2 +++ b/templates/ops.h Tue Aug 29 01:46:23 2023 +0200
1.3 @@ -1,6 +1,6 @@
1.4 /* Common operations.
1.5
1.6 -Copyright (C) 2015, 2016, 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2015, 2016, 2017, 2018, 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 @@ -136,7 +136,7 @@
1.12
1.13 __ref __ISFUNC(__ref obj);
1.14
1.15 -#define __ISNULL(__ATTR) (!__ATTR.value)
1.16 +#define __ISNULL(__ATTR) (!(__ATTR).value)
1.17
1.18 /* Attribute codes and positions for type objects. */
1.19
1.20 @@ -153,4 +153,9 @@
1.21
1.22 __ref __COPY(__ref obj, int size);
1.23
1.24 +/* Result target administration for potential value replacement. */
1.25 +
1.26 +void __set_local(volatile __attr *local, __attr attr);
1.27 +__attr __to_arg(__attr attr);
1.28 +
1.29 #endif /* __OPS_H__ */