How to use libev in C Plus Plus

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


On Mon, Jun 26, 2017 at 03:22:04PM +0800, "liukai at" <liukai at> 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_    
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at
      -=====/_/_//_/\_,_/ /_/\_\

More information about the libev mailing list