C++ API

Marc Lehmann schmorp at schmorp.de
Thu Apr 19 09:33:16 CEST 2012


On Wed, Apr 18, 2012 at 11:02:35AM -0400, Kevyn-Alexandre Paré <kapare at rogue-research.com> wrote:
> On 2012-04-18, at 1:33 AM, Marc Lehmann wrote:
> 
> > On Tue, Apr 17, 2012 at 04:18:13PM -0400, Kevyn-Alexandre Paré <kapare at rogue-research.com> wrote:
> >> I'm new to libev and want to know if the C++ API is equivalent to the C API?
> > 
> > For what definition of equivalent?
> 
> As it was written in my link :

I don't see it - you probably mean something else than me when talking
about equivalence.

> > Since I also don't use that part, it is basiclaly unsupported, yes.
> 
> This post made me wonder if there was functionality that was not supported in C++?

More than 100% of the functionality of libev is supported in C++ - in
addition to the C API, you get the C++ watcher API and the ability to
throw exceptions.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list