update dll export symbols

This commit is contained in:
lixianjing 2020-06-19 08:08:22 +08:00
parent f1729040ec
commit 547e74494c
4 changed files with 843 additions and 836 deletions

File diff suppressed because it is too large Load Diff

View File

@ -130,6 +130,7 @@ void tk_mem_dump(void);
/**
* @method tk_mem_init
* @export none
*
*
* @param {void*} buffer
@ -141,6 +142,7 @@ ret_t tk_mem_init(void* buffer, uint32_t size);
/**
* @method tk_mem_init_stage2
* @export none
* oom
*
* @return {ret_t} RET_OK表示成功

View File

@ -56,6 +56,7 @@ struct _mem_allocator_t {
/**
* @method mem_allocator_alloc
* @export none
*
*
* @param {mem_allocator_t*} allocator allocator对象
@ -75,6 +76,7 @@ static inline void* mem_allocator_alloc(mem_allocator_t* allocator, uint32_t siz
/**
* @method mem_allocator_realloc
* @export none
*
*
* @param {mem_allocator_t*} allocator allocator对象
@ -95,6 +97,7 @@ static inline void* mem_allocator_realloc(mem_allocator_t* allocator, void* ptr,
/**
* @method mem_allocator_free
* @export none
*
*
* @param {mem_allocator_t*} allocator allocator对象
@ -110,6 +113,7 @@ static inline void mem_allocator_free(mem_allocator_t* allocator, void* ptr) {
/**
* @method mem_allocator_dump
* @export none
*
*
* @param {mem_allocator_t*} allocator allocator对象
@ -125,6 +129,7 @@ static inline ret_t mem_allocator_dump(mem_allocator_t* allocator) {
/**
* @method mem_allocator_destroy
* @export none
*
*
* @param {mem_allocator_t*} allocator allocator对象

View File

@ -30583,6 +30583,7 @@
"annotation": {},
"desc": "初始化内存。",
"name": "tk_mem_init",
"export": "none",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"
@ -30593,6 +30594,7 @@
"annotation": {},
"desc": "初始化互斥和oom。",
"name": "tk_mem_init_stage2",
"export": "none",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"
@ -30638,6 +30640,7 @@
"annotation": {},
"desc": "分配指定大小的内存。",
"name": "mem_allocator_alloc",
"export": "none",
"return": {
"type": "void*",
"desc": "成功返回内存块的地址失败返回NULL。"
@ -30674,6 +30677,7 @@
"annotation": {},
"desc": "重新分配指定大小的内存。",
"name": "mem_allocator_realloc",
"export": "none",
"return": {
"type": "void*",
"desc": "成功返回内存块的地址失败返回NULL。"
@ -30695,6 +30699,7 @@
"annotation": {},
"desc": "释放内存。",
"name": "mem_allocator_free",
"export": "none",
"return": {
"type": "void*",
"desc": "成功返回内存块的地址失败返回NULL。"
@ -30711,6 +30716,7 @@
"annotation": {},
"desc": "显示内存信息,用于调试。",
"name": "mem_allocator_dump",
"export": "none",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"
@ -30727,6 +30733,7 @@
"annotation": {},
"desc": "销毁内存分配器。",
"name": "mem_allocator_destroy",
"export": "none",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"