-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/30/2014 09:28 AM, Saúl Ibarra Corretgé wrote: > https://gist.github.com/saghul/909502cc7367a25c247a > > (please post comments on this email thread, not the gist) >
Updated proposal: https://gist.github.com/saghul/909502cc7367a25c247a#file-uv_read2-md Basically I ditched the upfront allocation approach and switched to using an allocation callback. It's still possible for users to preallocate buffers by using a struct that embeds the request and storing them there anyway. Thanks a lot for all the feedback! - -- Saúl Ibarra Corretgé bettercallsaghul.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBAgAGBQJTsnDRAAoJEEEOVVOum8BZzYoP/2yhxB7+FprwjLejk/95TrVG LWXBYCr32vaEi8lWvc/fpyIL42SARtYA3PXsPxqEyRaUAmIghKj2BD6ifwjzYLo+ afGnazEaoTp1jcOVlBBC14otmrIp8xaVCHXNkp2D5B1nJg8OdQUhQATvuC6yTnVs PelUU5Ve2XZ6dQuMyRdpqKW6qBoaoQakONf3gs0IXBTJB0qLj0ObTNLhrR0WAka+ QXTOM5XR+xopPVwRSGln5/M5bFZev+680cOge69gk8MCqY6eGbO81jyfiIUygAjA C2Ofd9JoxMEnK3sRhkidk3OvXotYycUSOH6Bhvztv8GFMIDk7RZMXOsUwW32kmAA RNJvGrmzIeR5Cmds9DZWUl3hRdmiHgkt17jXzyI59ZRdCiSLi0QMBmXnfXpk0OWW QNg1G+Lyz11DNns0BukROy4HkRCugU5t7ioVeLktv8ulME3Yj1AOkknsZbb9nCH/ IzwebrhoUbwNLpqlH+tlI2zZxya681sSIxsf0m50aK66dm6Q+2whQ49stad30i+b fpdAtAoTomNIyzoxppP30fLM/GcMdm7TCWRN8OLpyrL6Xw+27zH4P6Co98r9SV00 Ol20tCj1d3NwalxFDrr/q5c0gGIEMb4TeSVPGc2RYvEXATwpT2dBTFT9ncnMDpPl +g5JE27BTF3pTnYMhKJL =cbMx -----END PGP SIGNATURE----- -- 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 http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
