mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-27 09:03:51 +00:00
refactor: add Lua return helpers to replace 178 inline guard patterns
Add luaReturnNil/luaReturnZero/luaReturnFalse helpers and replace 178 braced guard returns (109 nil, 31 zero, 38 false) in lua_engine.cpp. Reduces visual noise in Lua binding functions.
This commit is contained in:
parent
0d9aac2656
commit
4c26b1a8ae
1 changed files with 183 additions and 178 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue