From a070ec718add7752358254f89832f69293b43888 Mon Sep 17 00:00:00 2001 From: Akshay Arora Date: Tue, 24 Sep 2024 21:52:42 +0530 Subject: [PATCH] Update pyobjus.pyx --- pyobjus/pyobjus.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyobjus/pyobjus.pyx b/pyobjus/pyobjus.pyx index b7589ea..b9b5874 100644 --- a/pyobjus/pyobjus.pyx +++ b/pyobjus/pyobjus.pyx @@ -435,7 +435,7 @@ cdef class ObjcMethod(object): if res_ptr == NULL: raise MemoryError('Unable to allocate res_ptr') - if not self.signature_return[0].startswith((b'(', b'{')): + if not self.signature_return.startswith((b'(', b'{')): ffi_call(&self.f_cif, objc_msgSend, res_ptr, f_args) else: