1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Fix code style of async API

This commit is contained in:
ShadowNinja 2014-04-15 15:10:30 -04:00
parent 6ab3b4c838
commit f2b93b7bae
7 changed files with 130 additions and 111 deletions

View file

@ -291,7 +291,7 @@ void GUIEngine::run()
else
sleep_ms(25);
m_script->Step();
m_script->step();
}
}
@ -563,7 +563,8 @@ void GUIEngine::stopSound(s32 handle)
}
/******************************************************************************/
unsigned int GUIEngine::DoAsync(std::string serialized_fct,
unsigned int GUIEngine::queueAsync(std::string serialized_func,
std::string serialized_params) {
return m_script->DoAsync(serialized_fct,serialized_params);
return m_script->queueAsync(serialized_func, serialized_params);
}