Searched refs:_malloc_func (Results 1 – 1 of 1) sorted by relevance
56 static weed_malloc_f _malloc_func = malloc; variable65 if (malloc_func) _malloc_func = malloc_func; in weed_utils_set_custom_memfuncs()197 if ((retval = (char *)(*_malloc_func)(weed_leaf_element_size(plant, key, 0) + 1)) == NULL) { in weed_get_string_value()325 if ((retvals = (char **)(*_malloc_func)(num_elems * sizeof(char *))) == NULL) { in __weed_get_string_array__()331 if ((retvals[i] = (char *)(*_malloc_func)(weed_leaf_element_size(plant, key, i) + 1)) == NULL) { in __weed_get_string_array__()