Open zhuker opened 1 year ago
We can set that amount with the @Allocator(max=...
annotation value:
http://bytedeco.org/javacpp/apidocs/org/bytedeco/javacpp/annotation/Allocator.html#max--
We can also create trampolines dynamically using libffi: https://github.com/bytedeco/javacpp-presets/tree/master/libffi It's slower though, and it's not as easy to use as the wrappers in JNA...
We can set that amount with the
@Allocator(max=...
annotation value: http://bytedeco.org/javacpp/apidocs/org/bytedeco/javacpp/annotation/Allocator.html#max--
where is @Allocator should i use?
I am trying to create a wrapper around https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c/ The client code uses callbacks heavily How do i use more than 10 at the same time? eg C:
jni wrapper