diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-11-30 00:29:47 +0100 |
---|---|---|
committer | Santiago Gimeno <santiago.gimeno@gmail.com> | 2017-12-02 09:51:25 +0100 |
commit | 0d6525acae3b9cf8e52bda01a2662b82ca63f6dc (patch) | |
tree | 1f8fe02a14a1ea469b3a05bf248f071b42f63d85 /docs/src/conf.py | |
parent | c6b7e19f81ec10dfe56f8cb20d5793f428a20711 (diff) | |
download | libuv-0d6525acae3b9cf8e52bda01a2662b82ca63f6dc.tar.gz libuv-0d6525acae3b9cf8e52bda01a2662b82ca63f6dc.zip |
core: add getter/setter functions for easier ABI compat
Add getter/setter functions for the fields of public structs that
might be relevant to e.g. Node.js addons.
Through these methods, ABI compatibility for a subset of the ABI
is easier to achieve, since using them makes code independent
of the exact offsets of these fields.
The intended use case that prompted this are N-API addons for
Node.js, which look for more long-term ABI compatibility guarantees
than typical Node code. With these helper functions, using libuv
directly should no longer be an obstacle for such addons.
PR-URL: https://github.com/libuv/libuv/pull/1657
Refs: https://github.com/nodejs/node/issues/13512
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src/conf.py')
0 files changed, 0 insertions, 0 deletions