* Compile with:
* c++ -I/usr/local/include -o time-test time-test.cpp -L/usr/local/lib -levent
*
- * Wed 2006-12-27 - Modified by Leandro Lucarella <llucarella@integratech.com.ar>
+ * Wed 2006-12-27 - Modified by Leandro Lucarella <llucax+eventxx@gmail.com>
*
* Adapted to test the C++ inteface.
*
return (1);
/* Initalize one event */
- ev = new eventxx::event< cb_t >(pair[1], EV_WRITE, write_cb);
+ ev = new eventxx::event< cb_t >(pair[1], eventxx::WRITE, write_cb);
d.add(*ev);