Skip to content
Snippets Groups Projects
Commit d6547f45 authored by Julien Boeuf's avatar Julien Boeuf
Browse files

Be more explicit about the contract for free_fn in the gpr_allocation_functions doc.

parent 110dae8b
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,8 @@ GPRAPI void gpr_free_aligned(void *ptr);
/** Request the family of allocation functions in \a functions be used. NOTE
* that this request will be honored in a *best effort* basis and that no
* guarantees are made about the default functions (eg, malloc) being called. */
* guarantees are made about the default functions (eg, malloc) being called.
* The functions.free_fn implementation must be a no-op for NULL input. */
GPRAPI void gpr_set_allocation_functions(gpr_allocation_functions functions);
/** Return the family of allocation functions currently in effect. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment