On 05/22/2016 12:54 AM, Robert Lindstädt wrote: > Just as a convenience and compatibility to node-core (I assume), I want > to use uv__malloc and friend in native node addons. > Obviously use is not necessary, but would make live a little easier. > > Is it possible to have those available from with the standard node-gyp / > binding.gyp toolchain? A hack is not worth the effort though. >
uv-common is not libuv public API. Some have asked for uv_malloc and friends as official API, but I'm a little bit reluctant to do so. If you are using an application (ie Node) which uses allocator X, which then configures it in libuv, addons should use the Node allocator, not the libuv one. Regards, -- Saúl Ibarra Corretgé bettercallsaghul.com -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
