This is a bit of a pointless discussion.

If you have a problem managing your memory, why don't you write your own wrapper.

struct my_ev_watcher
{
        int initialized;
        ev_timer timer;
};

void my_ev_init_timer (struct my_ev_watcher * w)
{
        if (w->initialized)
                return;
        
        //... initialize it
}

This code is very quickly thrown together to show a basic idea, it obviously won't work in its current form.



_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to