89 panic(errno,
"Memory allocation failed");
104 panic(errno,
"Memory allocation failed");
117 panic(errno,
"Memory re-allocation failed");
135 size = strlen(str) + 1;
138 memcpy(copy, str,
size);
void gw_native_free(void *ptr)
gw_assert(wtls_machine->packet_to_send !=NULL)
void * gw_native_realloc(void *ptr, size_t size)
void * gw_native_calloc(int nmemb, size_t size)
void * gw_native_malloc(size_t size)
char * gw_native_strdup(const char *str)
void * gw_native_noop(void *ptr)