Open demotomohiro opened 3 years ago
Thank you!
I have sent merge request to libnice repository to add (in)
annotation to buf_len
.
https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/189
Great. I was going to create an issue, but your merge request is much better!
I just shipped v0.8.8. I tried to add a manually fix for your issue with
if sym in ["nice_agent_recv", "nice_agent_recv_nonblocking"] and name == "bufLen":
needVar = false
in gen.nim file. Hope it works.
Thank you!
I have installed v0.8.8. buf_len
parameter has correct type.
My merge request sent to libnice project has been merged. https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/189
buf_len
parameter of nice_agent_recv and nice_agent_recv_nonblocking in libnice aregsize
type, but corresponding parameters ofnice_agent_recv
andnice_agent_recv_nonblocking
proc in nice module generated by gintro arevar uint64
type. They should not be var parameters.