C++ API

Kevyn-Alexandre Paré kapare at rogue-research.com
Wed Apr 18 17:02:35 CEST 2012


Hi Marc,

Thx for having made & share such library!

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 :

On Mon, Sep 29, 2008 at 11:46:09AM -0300, Leandro Lucarella <llucax at gmail.com
> wrote:
> I'm using the undocumented ev++.h loop wrappers but I'm wondering if this
> feature it's official or if it gonna dissapear any time in the future,
> since it been some time since it was added, but never went "official".

and your answer 

> 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++?

Even after having read the C++ support:

The normal C API should work fine when used from C++: both ev.h and the libev sources can be compiled as C++. Therefore, code that uses the C API will work fine.

?

> 
>> That made me wonder what was the latest update on what was supported and not supported with the C++ API.
> 
> See "C++ SUPPORT" in the documentation.

thx


KA


> 
> -- 
>                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