mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 08:24:43 +01:00
bool → cbool (probably just a typo)
Fixes https://github.com/capnproto/pycapnp/issues/249
This commit is contained in:
parent
125e9713ca
commit
0353044587
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Add table
Reference in a new issue