4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-18 18:39:11 +08:00

add rt_calloc function declaration.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@87 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2009-10-11 05:43:15 +00:00
parent 2fc5c4c088
commit 6718379b81

View File

@ -163,6 +163,7 @@ void rt_system_heap_init(void* begin_addr, void* end_addr);
void* rt_malloc(rt_size_t nbytes);
void rt_free (void *ptr);
void* rt_realloc(void *ptr, rt_size_t nbytes);
void *rt_calloc(rt_size_t count, rt_size_t size);
#ifdef RT_USING_HOOK
void rt_malloc_sethook(void (*hook)(void *ptr, rt_uint32_t size));