-
Notifications
You must be signed in to change notification settings - Fork 306
-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using bool from stdbool.h makes FFI author life difficult #494
Comments
Do you have any particular FFI project in mind? |
Anyway, as far as the standard is concerned, even The problematic type is usually |
we are working to implement EVMC interface for nimbus
this is documented and well known behaviour since C89
we are lucky then I think such agreement between C compilers will pose little risk in the future. |
Please also check out #157. |
why is it difficult:
bool
. is it a byte or is it an int?bool
in one language will have the same size withbool
from C language.please reconsider using a
fixed-size
replacement forbool
.EDIT: size_t have different size on 32 bit vs 64 bit platform. but it is well defined and well documented. In other hand a
bool
instdbool.h
does not have size definition.The text was updated successfully, but these errors were encountered: