Tidy up bool implementation

This commit is contained in:
zvecr
2023-03-22 21:20:55 +00:00
parent 5f7e520f8f
commit 7edc0bcd43
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -27,6 +27,8 @@ def _xap_type_to_c_before(xt: str):
return 'uint32_t'
elif xt == 'u64':
return 'uint64_t'
elif xt == 'bool':
return 'uint8_t'
elif xt == 'string':
return 'const char*'
elif xt == 'token':