Prototyping c-based accessors to libuv struct fields