[zeromq-dev] Wrapping a C API in JNI?

shancat shannenlaptop at gmail.com
Mon Nov 18 19:45:06 CET 2013


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
On Nov 19, 2013 5:38 AM, "gonzalo diethelm" <gdiethelm at dcv.cl> wrote:

>  Hi Shannen,
>
>
>
> If you can post here a brief overview of the C API, I can give you a
> couple of hints.
>
>
>
> Regards,
>
>
>
> --
>
> Gonzalo Diethelm
>
> DCV Chile
>
>
>
> *From:* zeromq-dev-bounces at lists.zeromq.org [mailto:
> zeromq-dev-bounces at lists.zeromq.org] *On Behalf Of *shancat
> *Sent:* Monday, November 18, 2013 3:32 PM
> *To:* ZeroMQ development list
> *Subject:* [zeromq-dev] Wrapping a C API in JNI?
>
>
>
> I'm working with Pieter on a ZeroMQ related free-software project and
>
> could use some help. We need to wrap up the (simple) C API in JNI.
>
>
>
> The project can be viewed at https://github.com/edgenet/drops
>
>
>
> I don't "know" JNI so I'm getting quite stuck and any help is
>
> appreciated :)
>
>
>
> - Shannen
>
> ------------------------------
> Declaración de confidencialidad: Este Mensaje esta destinado para el uso
> de la o las personas o entidades a quien ha sido dirigido y puede contener
> información reservada y confidencial que no puede ser divulgada, difundida,
> ni aprovechada en forma alguna. El uso no autorizado de la información
> contenida en este correo podrá ser sancionado de conformidad con la ley
> chilena. Si usted ha recibido este correo electrónico por error, le pedimos
> eliminarlo junto con los archivos adjuntos y avisar inmediatamente al
> remitente, respondiendo este mensaje. Disclosure: This Message is to be
> used by the individual, individuals or entities that it is addressed to and
> may include private and confidential information that may not be disclosed,
> made public nor used in any way at all. Unauthorized use of the information
> in this electronic mail message may be subject to the penalties set forth
> by Chilean law. If you have received this electronic mail message in error,
> we ask you to destroy the message and its attached file(s) and to
> immediately notify the sender by answering this message.
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131119/66c6237f/attachment.html>


More information about the zeromq-dev mailing list