1.1 --- a/templates/progops.h Thu Nov 04 23:44:29 2021 +0100
1.2 +++ b/templates/progops.h Tue Aug 29 01:46:23 2023 +0200
1.3 @@ -1,6 +1,6 @@
1.4 /* Operations depending on program specifics.
1.5
1.6 -Copyright (C) 2015-2019, 2021 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2015-2019, 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 @@ -71,7 +71,7 @@
1.12
1.13 /* Error routines. */
1.14
1.15 -__attr __unbound_method(__attr __self);
1.16 +__attr __unbound_method(__attr __result, __attr __self);
1.17
1.18 /* Generic operations depending on specific program details. */
1.19
1.20 @@ -86,7 +86,7 @@
1.21 #define __INSTANCETABLE(CLS) (__InstanceTable_##CLS)
1.22 #define __NEWINSTANCE(CLS) __new(&__INSTANCETABLE(CLS), &CLS, __INSTANCESIZE(CLS), 0)
1.23 #define __NEWINSTANCEIM(CLS) __new(&__INSTANCETABLE(CLS), &CLS, __INSTANCESIZE(CLS), 1)
1.24 -#define __ISINSTANCE(ATTR, TYPE) __BOOL(__fn_native_introspection_isinstance(__NULL, ATTR, TYPE))
1.25 +#define __ISINSTANCE(ATTR, TYPE) __BOOL(__fn_native_introspection_isinstance(__NULL, __NULL, ATTR, TYPE))
1.26
1.27 /* Operations for accessing trailing data. */
1.28