Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods to individually open standard libraries. #86

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ale32bit
Copy link

This PR adds all individual methods to open the standard libraries:

  • OpenBase (_G)
  • OpenPackage
  • OpenCoroutine
  • OpenTable
  • OpenIO
  • OpenOS
  • OpenString
  • OpenMath
  • OpenUTF8
  • OpenDebug

I 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.

@kelvincookshaw-unity3d
Copy link

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?

@viniciusjarina
Copy link
Member

Why not simply p/Invoke the lua_openxxx functions ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants