diff options
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`. |