|
98 | 98 | #elif defined(DEFINE_DeeType_BoundInstanceAttrStringHash) |
99 | 99 | #define LOCAL_DeeType_AccessInstanceAttr DeeType_BoundInstanceAttrStringHash |
100 | 100 | #define LOCAL_DeeType_AccessCachedInstanceAttr(self) DeeType_BoundCachedInstanceAttrStringHash(self, attr, hash) |
101 | | -#define LOCAL_DeeType_AccessIInstanceMethodAttr(tp_invoker, tp_self) (DeeType_HasIInstanceMethodAttrStringHash(tp_invoker, tp_self, attr, hash) ? 1 : -2) |
102 | | -#define LOCAL_DeeType_AccessIInstanceGetSetAttr(tp_invoker, tp_self) (DeeType_HasIInstanceGetSetAttrStringHash(tp_invoker, tp_self, attr, hash) ? 1 : -2) |
103 | | -#define LOCAL_DeeType_AccessIInstanceMemberAttr(tp_invoker, tp_self) (DeeType_HasIInstanceMemberAttrStringHash(tp_invoker, tp_self, attr, hash) ? 1 : -2) |
| 101 | +#define LOCAL_DeeType_AccessIInstanceMethodAttr(tp_invoker, tp_self) Dee_BOUND_FROMPRESENT_BOUND(DeeType_HasIInstanceMethodAttrStringHash(tp_invoker, tp_self, attr, hash)) |
| 102 | +#define LOCAL_DeeType_AccessIInstanceGetSetAttr(tp_invoker, tp_self) Dee_BOUND_FROMPRESENT_BOUND(DeeType_HasIInstanceGetSetAttrStringHash(tp_invoker, tp_self, attr, hash)) |
| 103 | +#define LOCAL_DeeType_AccessIInstanceMemberAttr(tp_invoker, tp_self) Dee_BOUND_FROMPRESENT_BOUND(DeeType_HasIInstanceMemberAttrStringHash(tp_invoker, tp_self, attr, hash)) |
104 | 104 | #define LOCAL_IS_BOUND |
105 | 105 | #elif defined(DEFINE_DeeType_BoundInstanceAttrStringLenHash) |
106 | 106 | #define LOCAL_DeeType_AccessInstanceAttr DeeType_BoundInstanceAttrStringLenHash |
107 | 107 | #define LOCAL_DeeType_AccessCachedInstanceAttr(self) DeeType_BoundCachedInstanceAttrStringLenHash(self, attr, attrlen, hash) |
108 | | -#define LOCAL_DeeType_AccessIInstanceMethodAttr(tp_invoker, tp_self) (DeeType_HasIInstanceMethodAttrStringLenHash(tp_invoker, tp_self, attr, attrlen, hash) ? 1 : -2) |
109 | | -#define LOCAL_DeeType_AccessIInstanceGetSetAttr(tp_invoker, tp_self) (DeeType_HasIInstanceGetSetAttrStringLenHash(tp_invoker, tp_self, attr, attrlen, hash) ? 1 : -2) |
110 | | -#define LOCAL_DeeType_AccessIInstanceMemberAttr(tp_invoker, tp_self) (DeeType_HasIInstanceMemberAttrStringLenHash(tp_invoker, tp_self, attr, attrlen, hash) ? 1 : -2) |
| 108 | +#define LOCAL_DeeType_AccessIInstanceMethodAttr(tp_invoker, tp_self) Dee_BOUND_FROMPRESENT_BOUND(DeeType_HasIInstanceMethodAttrStringLenHash(tp_invoker, tp_self, attr, attrlen, hash)) |
| 109 | +#define LOCAL_DeeType_AccessIInstanceGetSetAttr(tp_invoker, tp_self) Dee_BOUND_FROMPRESENT_BOUND(DeeType_HasIInstanceGetSetAttrStringLenHash(tp_invoker, tp_self, attr, attrlen, hash)) |
| 110 | +#define LOCAL_DeeType_AccessIInstanceMemberAttr(tp_invoker, tp_self) Dee_BOUND_FROMPRESENT_BOUND(DeeType_HasIInstanceMemberAttrStringLenHash(tp_invoker, tp_self, attr, attrlen, hash)) |
111 | 111 | #define LOCAL_IS_BOUND |
112 | 112 | #define LOCAL_HAS_len |
113 | 113 | #elif defined(DEFINE_DeeType_CallInstanceAttrStringHash) |
|
0 commit comments