C++ API

Echo fatmck at 163.com
Thu Apr 19 02:37:53 CEST 2012


i am using libev c API in c++ on Linux both 32 and 64 bit, it works great for two years. There are a few compiler warnings when using gcc with O2 option, just ignore them, it doesn't matter.

发自我的 iPhone

在 2012-4-18,23:02,Kevyn-Alexandre Paré <kapare at rogue-research.com> 写道:

> 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
>>     -=====/_/_//_/\_,_/ /_/\_\
> 
> 
> _______________________________________________
> libev mailing list
> libev at lists.schmorp.de
> http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev




More information about the libev mailing list