mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Move LuaCommon.h's lua_push* functions to lua::

Open Pirulax opened this issue 3 years ago • 0 comments

Moved all our custom userdata push stuff from LuaCommon to lua::. Eventually all lua_push should be replaced with lua::Push for code consistency reasons.

I originally didn't want to do the second commit in this PR, but I couldn't get it to compile otherwise (I got a ton of linker errors, probably should've moved #pragma once below the luaBasic include.)

Only review the first commit. The second commit is find and replace all basically. I've tested it. (Started freeroam resource and played a little). Doesn't require any in-depth review.

Pirulax avatar Mar 22 '21 10:03 Pirulax