2 Commits

Author SHA1 Message Date
Rubicon Rowe
76b80ae9a6 fix random errors
* fix luacrun_new_ctx silently ignore non-table argument
* fix some functions assume error is not NULL
  if they get negative return code
* added some tests

Signed-off-by: Rubicon Rowe <l1589002388@gmail.com>
2023-09-05 16:32:57 +08:00
Rubicon Rowe
5ad15073f5 lua: add Lua bindings
Signed-off-by: Rubicon Rowe <l1589002388@gmail.com>
2023-03-16 23:07:14 +08:00