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
Can't bind function with double pointer parameter #417
Comments
Double pointer arguments are not supported by pybind11. |
(You could try to bind a lambda function which converts from a std::vectorstd::string or so) |
Thanks for the fast reply! It might be worth adding a list of known shortcomings to the main Readme to save everyone time. I'll try you suggestion now :) |
@dangirsh: This is issue is already quite old, but I have the same problem and would like to ask whether you found a solution and if so how that looked like? |
Sorry @Pulsar18, too long ago to recall (and I no longer have access to the relevant code). |
@Pulsar18 I am having the same issue now, were you able to find a satisfactory solution? |
I had a similar issue where I had to have
to
more info here. |
I can successfully compile and run the example here for wrapping the function int
add(int i, int j)
. If I change the type of j tochar **
, I get this compiler error:Are double pointers supported? If not, do you have any workarounds for calling the main function of C++ programs (which must have signature
int main(int argc, char **argv)
)?The text was updated successfully, but these errors were encountered: