Skip to content

Commit

Permalink
update: 注释掉一些调试日志
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Jan 28, 2020
1 parent 5674f1d commit cfd0080
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lua/src/linit.c
Expand Up @@ -61,8 +61,8 @@ LUALIB_API void luaL_openlibs (lua_State *L) {
const luaL_Reg *lib;
/* "require" functions from 'loadedlibs' and set results to global table */
for (lib = loadedlibs; lib->func; lib++) {
list_mem();
rt_kprintf("==openlib name=%s\n", lib->name);
//list_mem();
//rt_kprintf("==openlib name=%s\n", lib->name);
luaL_requiref(L, lib->name, lib->func, 1);
lua_pop(L, 1); /* remove lib */
}
Expand Down
4 changes: 2 additions & 2 deletions luat/rtt/luat_rtt_base.c
Expand Up @@ -10,8 +10,8 @@ int l_sprintf(s,sz,f,i) {

// 打印内存状态
void print_list_mem(const char* name) {
luat_printf("==>>%s\n", name);
list_mem();
//luat_printf("==>>%s\n", name);
//list_mem();
}

// fix for mled加密库
Expand Down

0 comments on commit cfd0080

Please sign in to comment.