We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dtype-next/src/tech/v3/datatype/ffi/base.clj
Line 301 in d3fb80b
I tried defining the following but could not compile it due to the case not supporting "void":
(def comp-iface-def (ffi/define-foreign-interface :void [:int32 :pointer]))
Adding the following to "object->exact-type-retval" appears to work as expected, with the callback from c -> clojure happening without issues:
:void [[:return]]
The text was updated successfully, but these errors were encountered:
I have used ":pointer?" as a return type to work around this. Is this the intent?
Sorry, something went wrong.
This is a real issue for sure. Void means nothing is popped off the C stack which is key to indicate. Thanks for the issue.
7ea9c05
No branches or pull requests
dtype-next/src/tech/v3/datatype/ffi/base.clj
Line 301 in d3fb80b
I tried defining the following but could not compile it due to the case not supporting "void":
(def comp-iface-def (ffi/define-foreign-interface :void [:int32 :pointer]))
Adding the following to "object->exact-type-retval" appears to work as expected, with the callback from c -> clojure happening without issues:
:void [[:return]]
The text was updated successfully, but these errors were encountered: