|
|
|
@ -90,6 +90,7 @@ void Application::registerLuaFunctions()
|
|
|
|
|
g_lua.bindSingletonFunction("g_platform", "getCPUName", &Platform::getCPUName, &g_platform);
|
|
|
|
|
g_lua.bindSingletonFunction("g_platform", "getTotalSystemMemory", &Platform::getTotalSystemMemory, &g_platform);
|
|
|
|
|
g_lua.bindSingletonFunction("g_platform", "getOSName", &Platform::getOSName, &g_platform);
|
|
|
|
|
g_lua.bindSingletonFunction("g_platform", "getFileModificationTime", &Platform::getFileModificationTime, &g_platform);
|
|
|
|
|
|
|
|
|
|
// Application
|
|
|
|
|
g_lua.registerSingletonClass("g_app");
|
|
|
|
|