How do you get a uv watcher to work with an object instance method as 
callback?

Below is what I am trying to do but it is not working for me.

uv_idle_init(uv_default_loop(), &obj->idler_);
uv_idle_start(&obj->idler_, obj->CheckList);


error: argument of type ‘void (Collector::)(uv_idle_t*, int)’ does not 
match ‘void (*)(uv_idle_t*, int)’

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to