Commit f20d5b58 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Make cypclass as autolock by default

parent 74812b83
...@@ -4117,7 +4117,7 @@ class CypClassType(CppClassType): ...@@ -4117,7 +4117,7 @@ class CypClassType(CppClassType):
def __init__(self, name, scope, cname, base_classes, templates=None, template_type=None, nogil=0, lock_mode=None): def __init__(self, name, scope, cname, base_classes, templates=None, template_type=None, nogil=0, lock_mode=None):
CppClassType.__init__(self, name, scope, cname, base_classes, templates, template_type, nogil) CppClassType.__init__(self, name, scope, cname, base_classes, templates, template_type, nogil)
self.lock_mode = lock_mode if lock_mode else "checklock" self.lock_mode = lock_mode if lock_mode else "autolock"
def empty_declaration_code(self): def empty_declaration_code(self):
if self._empty_declaration is None: if self._empty_declaration is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment