-
Notifications
You must be signed in to change notification settings - Fork 11
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
Expose simulate_until to C API #325
Conversation
How about this PR now? |
I'm so sorry, it turns out I have completely misled you here. I thought So 1 At least not the version of C that is a subset of C++. Newer versions have the |
How about the 2 last commits? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
The CSE_FALSE
and CSE_TRUE
constants will also come in handy when we add support for boolean variables to the C header. :)
Hold your horses! We have already included and used the
Hold your horses! We already have support for retrieving/observing and overriding boolean variables :) |
So I should just return the |
:D My embarrassingly lacking knowledge of the
No, I guess it's fine. I considered that before replying to @markaren, but that header is not included in the "C subset" of C++1, so anyone trying to use the New suggestion, then: Use the #ifndef __cplusplus
# include <stdbool.h>
#endif (I know, that part is strictly unrelated to this PR, but we might as well fix it now.) 1 More precisely, the |
Note, the |
Ok now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reaffirming approval. :)
No description provided.