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

Auto wrap functions passed to Lua.set! to receive %Lua{} #53

Merged
merged 3 commits into from
Oct 3, 2024

Commits on Oct 3, 2024

  1. Auto wrap functions passed to Lua.set! to receive %Lua{}

    This PR fixes the problem where functions passed to `Lua.set!/3` were
    receiving the underlying Luerl record rather than a `%Lua{}` struct.
    
    Also provides more flexibility to the return values of `deflua`
    functions that take Lua state, allowing them to omit passing the state,
    or return single values, and we will auto wrap them for you
    
    Closes #47
    Closes #51
    davydog187 committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    575b3e1 View commit details
    Browse the repository at this point in the history
  2. more robust table tests

    davydog187 committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    6fca206 View commit details
    Browse the repository at this point in the history
  3. improve set docs

    davydog187 committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    cbe29d2 View commit details
    Browse the repository at this point in the history