Join Slack
Powered by
can we have something to like this to pass data to...
# announcements
k
Kavan
05/27/2020, 7:14 AM
can we have something to like this to pass data to c function ?
Copy code
transfer.write_function(|new_data| { data.extend_from_slice(new_data); Ok(new_data.len()) })
It's really annoying to pass data by making StaticRef and get from staticCFunction and convert to kotlin type.
Open in Slack
Previous
Next