You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stdbool.h defined bool as _Bool which nimterop doesn't like, leading to cryptic errors like:
Error: unhandled exception: getters.nim(174, 14) `name[0] != '_' and name[^1] != '_'` Identifier 'sapp_touchpoint:_Bool' (nskType) has leading/trailing underscores '_' which Nim does not allow. Use toast flag '--prefix or --suffix' or 'cPlugin()' to modify. [AssertionDefect]
but it would be nice if nimterop was able to detect cases like this. if that's not a goal i guess maybe this could be added to wiki as a pitfall in case anyone else encounters this problem in the future.
The text was updated successfully, but these errors were encountered:
stdbool.h
definedbool
as_Bool
which nimterop doesn't like, leading to cryptic errors like:the following workaround is possible:
but it would be nice if nimterop was able to detect cases like this. if that's not a goal i guess maybe this could be added to wiki as a pitfall in case anyone else encounters this problem in the future.
The text was updated successfully, but these errors were encountered: