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

Reworked to compile in go1 and be go gettable (at least on linux) #7

Open
wants to merge 107 commits into
base: master
Choose a base branch
from

Conversation

aarzilli
Copy link
Contributor

Also includes some memory leaks from xenith-studios' branch. The downside is that I barely tested it.

aarzilli and others added 30 commits March 20, 2011 11:46
- 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"
…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
aarzilli and others added 14 commits August 3, 2020 16:36
Use build tags to select the version of lua to use.
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.
@aarzilli aarzilli force-pushed the master branch 4 times, most recently from f2652db to 32975d9 Compare September 26, 2024 08:25
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.