summaryrefslogtreecommitdiff
path: root/Cython/Compiler/Symtab.py
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Compiler/Symtab.py')
-rw-r--r--Cython/Compiler/Symtab.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py
index aeb7a38c1..a82f4551a 100644
--- a/Cython/Compiler/Symtab.py
+++ b/Cython/Compiler/Symtab.py
@@ -2413,7 +2413,8 @@ class CClassScope(ClassScope):
return entry
def declare_cproperty(self, name, type, cfunc_name, doc=None, pos=None, visibility='extern',
- nogil=False, with_gil=False, exception_value=None, exception_check=False):
+ nogil=False, with_gil=False, exception_value=None, exception_check=False,
+ utility_code=None):
"""Internal convenience method to declare a C property function in one go.
"""
property_entry = self.declare_property(name, doc=doc, ctype=type, pos=pos)
@@ -2428,6 +2429,7 @@ class CClassScope(ClassScope):
exception_check=exception_check,
),
cname=cfunc_name,
+ utility_code=utility_code,
visibility=visibility,
pos=pos,
)