Changeset 944 for trunk/core/luascript.c
- Timestamp:
- 09/19/10 22:52:57 (3 years ago)
- File:
-
- 1 edited
-
trunk/core/luascript.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/luascript.c
r920 r944 1295 1295 1296 1296 #endif // OPT_LUA_CALL_NATIVE 1297 1298 /* 1299 result = reboot(["filename"]) 1300 returns false on failure, does not return on success 1301 see lib/armutil/reboot.c for details 1302 */ 1303 static int luaCB_reboot( lua_State* L ) 1304 { 1305 lua_pushboolean(L, reboot(luaL_optstring( L, 1, NULL ))); 1306 return 1; 1307 } 1297 1308 1298 1309 void register_lua_funcs( lua_State* L ) … … 1459 1470 FUNC(call_func_ptr); 1460 1471 #endif 1461 } 1472 FUNC(reboot); 1473 }
Note: See TracChangeset
for help on using the changeset viewer.