thlorenz / libuv-dox

Documenting types and methods of libuv, mostly by reading 'uv.h'.
https://github.com/joyent/libuv
MIT License
252 stars 30 forks source link

libuv-dox

become a patron

Documenting types and methods of libuv, mostly by reading uv.h.

Organization

The information found in uv.h has been organized into three categories:

Examples were added to show how the API is used.

types

The inheritance relationship is documented via :, i.e. uv_tcp_t : uv_stream_t denotes that uv_tcp_t derives from uv_stream_t and thus has all the stream type fields.

Macros of extra/private fields have been resolved as much as was sensible and the original location and name is documented, i.e. the private fields for uv_fs_t found inside include/uv-unix.h are included.

Note: uv-unix.h was always preferred over uv-win.h when resolving fields from macros.

callbacks

Although they are techniqually types as well they are documented in a separately in order to speed up lookup.

methods

The methods are categorized and ordered to mirror the categorization and order of the types that they use.

version

The libuv version at that is the source of this documentation is: v0.11.17.

License

MIT