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:
parent
6ab3b4c838
commit
f2b93b7bae
7 changed files with 130 additions and 111 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue