WeaselGames / godot_luaAPI

Godot LuaAPI
https://luaapi.weaselgames.info
Other
391 stars 30 forks source link

Use correct naming conventions #12

Closed btvoidx closed 3 years ago

btvoidx commented 3 years ago

Lua class in Godot uses camel case for function names, but Godot's style guide suggests snake case.

Describe the solution you'd like Change camelCase to snake_case where needed.

killAll -> kill_all
setThreaded -> set_threaded
doFile -> do_file
doString -> do_string
pushVariant -> push_variant
exposeFunction -> expose_function
callFunction -> call_function
luaFunctionExists -> lua_function_exists
Trey2k commented 3 years ago

Added in 10ed7172a463c8363c3d26dcb0096307a04e0450