Re-org memory allocation interfaces, add --stack-size and --heap-size option (#193)

This commit is contained in:
wenyongh
2020-03-10 19:54:44 +08:00
committed by GitHub
parent 381859d530
commit 0fdd49ea31
110 changed files with 1264 additions and 2125 deletions

View File

@ -406,11 +406,11 @@ void
attr_container_dump(const attr_container_t *attr_cont);
#ifndef attr_container_malloc
#define attr_container_malloc wa_malloc
#define attr_container_malloc WA_MALLOC
#endif
#ifndef attr_container_free
#define attr_container_free wa_free
#define attr_container_free WA_FREE
#endif
#ifndef attr_container_printf

View File

@ -145,6 +145,8 @@ unpack_response(char * packet, int size, response_t * response);
void
free_req_resp_packet(char * packet);
char *
wa_strdup(const char *str);
#ifdef __cplusplus