On Mon, Nov 18, 2013 at 2:45 PM, shancat <shannenlap...@gmail.com> wrote:
> struct drops_t {
>     void *pipe;
>     zctx_t *ctx;
> };
>
> drops_t * drops_new (const char *directory);
> void drops_destroy (drops_t **self_p);
>
> The main problem is that I don't know the proper way to manage the drops_t
> struct

If you want to access it from Java, I would coerce the pointer to Java
long. Here is a simple project I wrote that might help you with JNI.

    https://github.com/trevorbernard/zmq-jni
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to