-
Notifications
You must be signed in to change notification settings - Fork 202
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
Reworked to compile in go1 and be go gettable (at least on linux) #7
Open
aarzilli
wants to merge
107
commits into
afitz:master
Choose a base branch
from
aarzilli:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- whatever echo make invoked automatically didn't have the -e flag (forced it to use GNU's echo at /bin/echo) - falling back to lua5.1 for LUA51_LIBNAME when pkg-config doesn't return anything for "--print-provides lua"
…of GoFunctoin type, fixed IsGoFunction
…point, use panic instead lua_error will longjump out of the calling c function, this seems to mess up cgocall state. I do not think there is a way to make this work and therefore I have removed lua.State.Error and lua.State.ErrorWithMessage from the interface DoString and DoFile will instead catch panics and return them as errors
…of pushed user data
Use build tags to select the version of lua to use.
Co-authored-by: Jianxiang Ran <[email protected]> Co-authored-by: “Jianxiang <[email protected]>
Co-authored-by: “Jianxiang <[email protected]>
With this commit it's now possible to define a custom debug Hook in Go via the new Function "State.SetHook". Currently there is only one Hook per State which means that a call to "State.SetHook" will always override the previously set hook. This hook is always of type "LUA_MASKCOUNT" Co-authored-by: xf <[email protected]>
Adds a generic lluadash tag that used in conjunction with a lua version tag uses liblua-X.Y as the library name.
f2652db
to
32975d9
Compare
Also add GetUpvalue, SetUpvalue and UpvalueIndex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also includes some memory leaks from xenith-studios' branch. The downside is that I barely tested it.