Merge pull request #250 from timthelion/cbool

bool → cbool (probably just a typo)
This commit is contained in:
Jacob Alexander
2021-04-25 18:59:12 -07:00
committed by GitHub

View File

@@ -69,7 +69,7 @@ cpdef _set_{{field.name}}(self, {{field.type}}_t value):
cpdef _set_{{field.name}}(self, value=None): cpdef _set_{{field.name}}(self, value=None):
pass pass
{% elif 'bool' == field['type'] -%} {% elif 'bool' == field['type'] -%}
cpdef _set_{{field.name}}(self, bool value): cpdef _set_{{field.name}}(self, cbool value):
self.thisptr_child.set{{field.c_name}}(value) self.thisptr_child.set{{field.c_name}}(value)
{% elif 'list' == field['type'] -%} {% elif 'list' == field['type'] -%}
cpdef _set_{{field.name}}(self, list value): cpdef _set_{{field.name}}(self, list value):