4 Commits

Author SHA1 Message Date
Dmitry Ng d1468187c9 Changes to vxmonitor support 2021-03-22 10:44:45 +03:00
aarzilli d8e5c9edda Fixes issue #4 (or at least I hope it does) 2013-03-31 15:34:24 +02:00
aarzilli bd064a4224 restored lua.State.Error function to existence with a hack 2012-12-21 21:49:19 +01:00
aarzilli dd5cb7a08d lua.State.Error never worked or was broken by some go update at some 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
2012-10-27 12:40:32 +02:00