diff options
author | chai <chaifix@163.com> | 2018-05-17 18:04:41 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-17 18:04:41 +0800 |
commit | 34947d066b994c2ef9121a83497da344982d28e2 (patch) | |
tree | 41a65f6973a9082dafcc081a8a46de99b556370b /src/lua/embed/embed.h | |
parent | d45064be602c3becb046d86913ea8013774b0079 (diff) |
v0.1.0
Diffstat (limited to 'src/lua/embed/embed.h')
-rw-r--r-- | src/lua/embed/embed.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lua/embed/embed.h b/src/lua/embed/embed.h index 685355f..2ef8b75 100644 --- a/src/lua/embed/embed.h +++ b/src/lua/embed/embed.h @@ -33,16 +33,16 @@ namespace embed // embed scripts const jin_Embed scripts[] = { - { "graphics.lua", graphics_lua }, - { "keyboard.lua", keyboard_lua }, - { "mouse.lua", mouse_lua }, - { "debug.lua", debug_lua}, - { "boot.lua", boot_lua }, - { 0, 0 } + {"graphics.lua", graphics_lua}, + {"keyboard.lua", keyboard_lua}, + {"mouse.lua", mouse_lua}, + {"debug.lua", debug_lua}, + {"boot.lua", boot_lua}, + {0, 0} }; // load all emebd lua scripts - for (int i = 0; scripts[i].fname; i++) + for (int i = 0; scripts[i].fname; ++i) embed(L, scripts[i].source, scripts[i].fname); } } |