-
Notifications
You must be signed in to change notification settings - Fork 269
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
Add sets to cwrapper #1845
Add sets to cwrapper #1845
Conversation
This is ready for review |
symengine/cwrapper.cpp
Outdated
@@ -658,6 +662,164 @@ void basic_str_free(char *s) | |||
delete[] s; | |||
} | |||
|
|||
void bool_true(basic s) |
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.
basic_assign_bool_true
?
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.
Or basic_bool_set_true
?
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.
Ok, we have integer_set_si
so I changed to bool_set_true
and bool_set_false
I wonder if we should prefix all/most functions with |
Thanks @Marlin-Na for reviewing. I agree. Perhaps even better would be to have a symengine prefix then class and then function. Something like |
I changed to |
@rikardn Thanks for making those changes. I still think having a |
Can this be merged? |
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.
I agree with @Marlin-Na that set_*
is too common. Let's add basic_
prefix. Otherwise looks good to me.
Ok. Is this better? |
Thanks @isuruf and @Marlin-Na for reviewing |
No description provided.