-
Notifications
You must be signed in to change notification settings - Fork 4
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
write_compute_value_instructions` doesn't consider Nullable pointers #28
Comments
Related in
let format_ptr = allocate Format.t_view (Format.t_view.of_value (Unsigned.UInt32.zero)) in
let processed_ptr = allocate uint64_t Unsigned.UInt64.zero in
Format.mli open Ctypes
type t = Undefined | Default | Bytes | Time | Buffers | Percent
val of_value:
Unsigned.uint32 -> t
val to_value:
t -> Unsigned.uint32
val t_view: t typ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to generate bindings for Gstreamer (GstTagList), I get the following on compiling the generated bindings.
Pointing to a line like this
I think
write_compute_value_instructions
must check if the out args (inout args too I'm guessing) could be a Nullable.I couldn't find the right patch to get this work, if I have any luck, I'll raise a PR.
The text was updated successfully, but these errors were encountered: