13 Commits

Author SHA1 Message Date
Dmitry Ng 140cd9b68f fixed issue with catching panic in go runtime due to raise lua error 2023-04-06 09:24:10 +03:00
Dmitry Ng b6d84181f4 Fixed crashing this code on windows due uncatched longjmp from lua_error function 2021-09-25 21:12:47 +03:00
Dmitry Ng 981cf14d14 Changes to vxmonitor support 2021-09-21 22:30:03 +03:00
Xaver Fischer 11106aa577 Custom Debug Hook in Go via "State.SetHook" (#99)
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>
2021-05-07 15:07:08 +02:00
aarzilli 7f78a3b61a merge branches lua5.2 and lua5.3 into master
Use build tags to select the version of lua to use.
2020-08-26 09:43:58 +02:00
aarzilli 4563e62146 fix references to example directory 2020-08-03 16:48:47 +02:00
aarzilli d4a430464f test dump and load 2019-07-14 20:30:37 +02:00
aarzilli c15567389b go fmt 2015-12-24 09:53:31 +01:00
aarzilli 82d28bfc6b changed PushString and ToString to work correctly when their argument contains NUL bytes 2013-08-23 19:39:16 +02:00
aarzilli e232130935 saving lua stack trace 2013-04-01 12:10:52 +02:00
aarzilli d8e5c9edda Fixes issue #4 (or at least I hope it does) 2013-03-31 15:34:24 +02:00
aarzilli 11e5a399e4 Fixed example/basic.go 2012-10-27 11:31:33 +02:00
aarzilli 2e01ce2dd6 some testing 2012-10-17 09:57:17 +02:00