Skip to content
Snippets Groups Projects
Commit f0da36b8 authored by Craig Tiller's avatar Craig Tiller
Browse files

Clarifying comment

parent fdc2b10d
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,11 @@ typedef struct gpr_allocation_functions { ...@@ -48,7 +48,11 @@ typedef struct gpr_allocation_functions {
void (*free_fn)(void *ptr); void (*free_fn)(void *ptr);
} gpr_allocation_functions; } gpr_allocation_functions;
/* malloc, never returns NULL */ /* malloc.
* If size==0, always returns NULL. Otherwise this function never returns NULL.
* The pointer returned is suitably aligned for any kind of variable it could
* contain.
*/
GPRAPI void *gpr_malloc(size_t size); GPRAPI void *gpr_malloc(size_t size);
/* free */ /* free */
GPRAPI void gpr_free(void *ptr); GPRAPI void gpr_free(void *ptr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment