[zeromq-dev] [zproject] mkapi.py: Generate API model from header

Michal Vyskocil michal.vyskocil at gmail.com
Sun Dec 20 20:52:42 CET 2015


Hi,

Besides czmq no. I can try malamute for example.

I am glad you like it. I'll make pull request.

Michal
Dne 20. 12. 2015 3:22 PM napsal uživatel "Pieter Hintjens" <ph at imatix.com>:

> This is neat. Have you tried it on other projects? There are still a
> couple of classes in CZMQ that aren't covered by zproject models
> (zrex, zlistx, zdigest, zclock). Might be good test cases.
>
> Also, if you want to move this inside zproject feel free to do that.
>
> -Pieter
>
> On Sun, Dec 20, 2015 at 2:17 PM, Michal Vyskocil
> <michal.vyskocil at gmail.com> wrote:
> > Hi,
> >
> > I wrote a simple tool, which generates zproject API model from
> > declarations in header files.
> >
> > https://github.com/vyskocilm/mkapi
> >
> > My idea is there are more developers willing to learn CLASS and write
> > C declarations than those who will learn zproject API model. So having
> > API model generated can lower the barrier for developers.
> >
> > I used on czmq header files, where it seems the tools works pretty
> > well. I have omited to support polymorphic type (tests consider it as
> > singleton) and maybe there are smaller bugs related to type mappings.
> > But in general it works pretty well.
> >
> > --
> > best regards
> >      Michal Vyskocil
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> 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/20151220/8a607d96/attachment.htm>


More information about the zeromq-dev mailing list