diff options
author | Saúl Ibarra Corretgé <saghul@gmail.com> | 2015-04-29 09:33:47 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <saghul@gmail.com> | 2015-04-29 09:37:02 +0200 |
commit | 1f711e4d6d2137776a113b29a791d115fb4a0c63 (patch) | |
tree | 14d989f4727ef93ed538a9a0aa37c2e011aaa8ca /docs/src | |
parent | 706362083e7b083d7cc1a157a180dcc007988d75 (diff) | |
download | libuv-1f711e4d6d2137776a113b29a791d115fb4a0c63.tar.gz libuv-1f711e4d6d2137776a113b29a791d115fb4a0c63.zip |
Revert "memory: add uv_replace_allocator"
This reverts commit c272f1f1bc0bda625e6441d798c110b4064a6ce2.
The concept will come back to libuv, but it needs some more work.
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/misc.rst | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docs/src/misc.rst b/docs/src/misc.rst index f01b906f..bb97a260 100644 --- a/docs/src/misc.rst +++ b/docs/src/misc.rst @@ -26,16 +26,6 @@ Data types .. note:: On Windows this field is ULONG. -.. c:type:: uv_malloc_func - - Function pointer type for the malloc override used by - :c:func:`uv_replace_allocator`. - -.. c:type:: uv_free_func - - Function pointer type for the free override used by - :c:func:`uv_replace_allocator`. - .. c:type:: uv_file Cross platform representation of a file handle. @@ -136,16 +126,6 @@ API Returns the libuv version number as a string. For non-release versions "-pre" is appended, so the version number could be "1.2.3-pre". -.. c:function:: int uv_replace_allocator(uv_malloc_func malloc_func, uv_free_func free_func) - - .. versionadded:: 1.5.0 - - Override the use of the standard library's malloc and free functions for - memory allocation. If used, this function must be called before any - other libuv function is called. On success, it returns 0. If called more - than once, the replacement request is ignored and the function returns - ``UV_EINVAL``. - .. c:function:: uv_buf_t uv_buf_init(char* base, unsigned int len) Constructor for :c:type:`uv_buf_t`. |