[zeromq-dev] what happens to the bindings with libzmq libzapi ...
Steven McCoy
steven.mccoy at miru.hk
Tue Apr 26 02:43:48 CEST 2011
On 26 April 2011 05:48, Pieter Hintjens <ph at imatix.com> wrote:
> On Mon, Apr 25, 2011 at 10:35 PM, Brian Granger <ellisonbg at gmail.com>
> wrote:
>
> > For a project written in C++, that C++ API, should be *the* C++ API
> > and the C API should be a thin layer on top of that. If those APIs
> > are broken or confusing, let's just fix them in 3.0.
>
> Yes, that would be obvious, but afaik you can't layer C on top of C++.
>
>
The TIB API does this, use C++ to export a C API. Some uses of C++ require
a C++ main but I think you can avoid this with a dynamic library.
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110426/89067c08/attachment.htm>
More information about the zeromq-dev
mailing list