How to use libev in C Plus Plus

Marc Lehmann schmorp at schmorp.de
Tue Jun 27 14:09:55 CEST 2017


Hi!

On Mon, Jun 26, 2017 at 03:22:04PM +0800, "liukai at shinezone.com" <liukai at shinezone.com> wrote:
>   ev::dynamic_loop loop;

> I got these error when I compiled this program. If you have free time please answer me why I got these error. Thank you...

While ev++.h has some loop structs, they are undocumented - you have to
limit yourself to the documented API, i.e. mostly the ev::watcher types,
and the normal C API (which is available after including ev++.h).

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