Browse Source

add:去掉重复luat_heap_zalloc

Dozingfiretruck 3 years ago
parent
commit
8cea12deb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      luat/include/luat_malloc.h

+ 1 - 1
luat/include/luat_malloc.h

@@ -16,7 +16,7 @@ void  luat_heap_free(void* ptr);
 void* luat_heap_realloc(void* ptr, size_t len);
 void* luat_heap_calloc(size_t count, size_t _size);
 void* luat_heap_zalloc(size_t _size);
-void* luat_heap_zalloc(size_t _size);
+
 //size_t luat_heap_getfree(void);
 // 这部分是LuaVM专属内存
 void* luat_heap_alloc(void *ud, void *ptr, size_t osize, size_t nsize);