Skip to content

Commit b4e9f56

Browse files
committed
With bug in DeeType_BoundInstanceAttrStringHash()
1 parent 9832fdf commit b4e9f56

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/deemon/runtime/attribute-access-type-instance.c.inl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,16 @@
9898
#elif defined(DEFINE_DeeType_BoundInstanceAttrStringHash)
9999
#define LOCAL_DeeType_AccessInstanceAttr DeeType_BoundInstanceAttrStringHash
100100
#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))
104104
#define LOCAL_IS_BOUND
105105
#elif defined(DEFINE_DeeType_BoundInstanceAttrStringLenHash)
106106
#define LOCAL_DeeType_AccessInstanceAttr DeeType_BoundInstanceAttrStringLenHash
107107
#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))
111111
#define LOCAL_IS_BOUND
112112
#define LOCAL_HAS_len
113113
#elif defined(DEFINE_DeeType_CallInstanceAttrStringHash)

0 commit comments

Comments
 (0)