1.1 --- a/templates/ops.h Sat Mar 04 23:48:19 2017 +0100
1.2 +++ b/templates/ops.h Sun Mar 05 18:08:19 2017 +0100
1.3 @@ -49,6 +49,8 @@
1.4 /* Introspection. */
1.5
1.6 int __is_instance(__ref obj);
1.7 +int __is_subclass(__ref obj, __attr cls);
1.8 +int __is_instance_subclass(__ref obj, __attr cls);
1.9 int __is_type_instance(__ref obj);
1.10 __ref __get_class(__ref obj);
1.11 __attr __get_class_attr(__ref obj);
1.12 @@ -109,11 +111,6 @@
1.13 __attr (*__get_function(__ref context, __attr target))(__attr[]);
1.14 __attr (*__check_and_get_function(__ref context, __attr target))(__attr[]);
1.15
1.16 -/* Basic structure tests. */
1.17 -
1.18 -int __WITHIN(__ref obj, int pos);
1.19 -int __HASATTR(__ref obj, int pos, int code);
1.20 -
1.21 /* Parameter position operations. */
1.22
1.23 int __HASPARAM(const __ptable *ptable, int ppos, int pcode);