Reworked to compile in go1 and be go gettable (at least on linux)#7
Open
aarzilli wants to merge 107 commits intoafitz:masterfrom
Open
Reworked to compile in go1 and be go gettable (at least on linux)#7aarzilli wants to merge 107 commits intoafitz:masterfrom
aarzilli wants to merge 107 commits intoafitz:masterfrom
Conversation
- 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 <jianxiang.ran@hpe.com> Co-authored-by: “Jianxiang <jran@arubanetworks.com>
Co-authored-by: “Jianxiang <jran@arubanetworks.com>
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 <xf@b-schuessler.de>
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
This file contains hidden or 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
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.