1.1 --- a/templates/ops.c Fri Feb 01 00:50:48 2019 +0100
1.2 +++ b/templates/ops.c Sat Feb 02 01:18:52 2019 +0100
1.3 @@ -401,11 +401,6 @@
1.4 return __test_specific_instance(obj, &__FUNCTION_TYPE);
1.5 }
1.6
1.7 -int __ISNULL(__attr value)
1.8 -{
1.9 - return (value.value == 0); /* __NULL.value */
1.10 -}
1.11 -
1.12 /* Attribute codes and positions for type objects. */
1.13
1.14 unsigned int __TYPECODE(__ref obj)
2.1 --- a/templates/ops.h Fri Feb 01 00:50:48 2019 +0100
2.2 +++ b/templates/ops.h Sat Feb 02 01:18:52 2019 +0100
2.3 @@ -135,7 +135,8 @@
2.4 /* Type testing. */
2.5
2.6 __ref __ISFUNC(__ref obj);
2.7 -int __ISNULL(__attr value);
2.8 +
2.9 +#define __ISNULL(__ATTR) (!__ATTR.value)
2.10
2.11 /* Attribute codes and positions for type objects. */
2.12