1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +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

@ -36,15 +36,15 @@ public:
MainMenuScripting(GUIEngine* guiengine);
// Global step handler to pass back async events
void Step();
void step();
// Pass async events from engine to async threads
unsigned int DoAsync(std::string serialized_func,
unsigned int queueAsync(std::string serialized_func,
std::string serialized_params);
private:
void InitializeModApi(lua_State *L, int top);
void initializeModApi(lua_State *L, int top);
AsyncEngine m_AsyncEngine;
AsyncEngine asyncEngine;
};