-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
“first argument not a pointer or valid constant expression” in ccall, v0.7-alpha #27477
Comments
I looked into this; it's due to the fact that we have special evaluation for |
I'm new to Julia, and I ran into a similar issue. The slightly modified code from the op's doesn't work. Please kindly suggest if I made a mistake. Thank you! @JeffBezanson
|
Running Julia 1.1.0 on darwin64 by the way. I found a workaround:
|
I'm trying to parametrize the argument type but ran into another issue. See the sample code below
But if I hard-code the arg_type like in the last post, it works:
|
Please use discourse for questions. |
Ok, just posted to discourse @yuyichao |
This seems to be a bug:
The text was updated successfully, but these errors were encountered: