blt4linux / blt4l

PAYDAY 2 SteamOS/Linux LUA loader.
Other
57 stars 14 forks source link

Port base Lua functions #68

Closed ZNixian closed 7 years ago

ZNixian commented 7 years ago

Port the following functions into the vm table:

These are the exact functions that come with Lua 5.1, and so can be used for custom loading and error handling purposes.

See #67 for associated discussion.

RomanHargrave commented 7 years ago

For consistency with the rest of BLT, could you rename vmexport.hh and vmexport.cc to lapi_vm.hh and lapi_vm.cc, as well as renaming blt::vmexport to blt::lapi::vm?

ZNixian commented 7 years ago

Sure.

ZNixian commented 7 years ago

I've updated everything to fall under lapi::vm::