1.1 --- a/templates/ops.h Sat Nov 06 01:05:42 2021 +0100
1.2 +++ b/templates/ops.h Sat Nov 06 17:06:01 2021 +0100
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-2018, 2021 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.rawvalue & (~__TAG_MASK)))
1.17
1.18 /* Attribute codes and positions for type objects. */
1.19