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

Make cypclass as autolock by default

parent 421909fc
......@@ -4047,7 +4047,7 @@ class CypClassType(CppClassType):
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)
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):
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