Add methods to individually open standard libraries.#86
Add methods to individually open standard libraries.#86
Conversation
|
I've started adding code like this to my project. It would be better for us if this was in KeraLua, and the project code didn't have to reference the native library. I tried to look at the errors for the failing checks, but I don't have access to the Azure organization in which the build happens. What would it take to get this PR merged? |
|
Why not simply p/Invoke the lua_openxxx functions ? |
The entire point of using a wrapper library like this is so that everyone doesn't have to redefine the same p/invokes |
|
My point is why not simple call |
This PR adds all individual methods to open the standard libraries:
OpenBase(_G)OpenPackageOpenCoroutineOpenTableOpenIOOpenOSOpenStringOpenMathOpenUTF8OpenDebugI could not make it build on my machine (both before and after the addition), so it would be nice to have it verified by someone more capable than me.