aboutsummaryrefslogtreecommitdiff
path: root/src/lua/time/luaopen_time.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-18 17:18:47 +0800
committerchai <chaifix@163.com>2018-08-18 17:18:47 +0800
commit398966630f99329021d4335d819326e27a9d49df (patch)
tree72868e26389f784f4abfb24110ffbd2385d67753 /src/lua/time/luaopen_time.cpp
parent2fb51a71e53b4fc7bd4058d3a5a6f39fa81c345a (diff)
*update
Diffstat (limited to 'src/lua/time/luaopen_time.cpp')
-rw-r--r--src/lua/time/luaopen_time.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lua/time/luaopen_time.cpp b/src/lua/time/luaopen_time.cpp
index 4ef5372..d77b713 100644
--- a/src/lua/time/luaopen_time.cpp
+++ b/src/lua/time/luaopen_time.cpp
@@ -23,9 +23,9 @@ namespace lua
}
static const luaL_Reg f[] = {
- {"second", l_sec},
- {"sleep", l_sleep},
- {0, 0},
+ { "second", l_sec },
+ { "sleep", l_sleep },
+ { 0, 0 },
};
int luaopen_time(lua_State* L)
@@ -34,5 +34,5 @@ namespace lua
return 1;
}
-}
-} \ No newline at end of file
+} // lua
+} // jin \ No newline at end of file