mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
minor refactor
This commit is contained in:
parent
9d7816a286
commit
3187243a7d
4 changed files with 5 additions and 4 deletions
|
|
@ -247,7 +247,7 @@ runnable lua::create_runnable(State* L) {
|
|||
};
|
||||
}
|
||||
|
||||
supplier<bool> lua::create_simple_handler(State* L) {
|
||||
KeyCallback lua::create_simple_handler(State* L) {
|
||||
auto funcptr = create_lambda_handler(L);
|
||||
return [=]() -> bool {
|
||||
getglobal(L, LAMBDAS_TABLE);
|
||||
|
|
|
|||
|
|
@ -574,7 +574,7 @@ namespace lua {
|
|||
}
|
||||
|
||||
runnable create_runnable(lua::State*);
|
||||
supplier<bool> create_simple_handler(lua::State*);
|
||||
KeyCallback create_simple_handler(lua::State*);
|
||||
scripting::common_func create_lambda(lua::State*);
|
||||
scripting::common_func create_lambda_nothrow(lua::State*);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue