Inlined Lua API Functions that are Compatible with most sources.
Instead of using lua_State* L
, we replaced it with double-word DWORD rL
.
Then instead of using lua's shitty functions, we use our own inlined ones!
Must include Headers.hpp
or any Lua Files otherwise functions will error.
If any definition error occurs, include some lua files, should fix the error.
Not all functions work, because I didn't really work on some functions.
The __inline Keyword for Inline Functions. An inline function is a function for which the compiler replaces a call to the function with the code for the function itself.
Roblox destroyed the usage of functions, into inline, and this repo fixes that.
Fully or partially inlined functions as I didnt really want to work on it, maybe in the future, I will improve it by 50% or more.
Commented each code block for more information on what to change, etc. It also includes defines for certain functions.
Some functions may work as your execution method is different.
This is 100% working with Roblox's Luau Compiler: https://github.com/Roblox/luau