atpanic method

lua_CFunction atpanic(
  1. lua_CFunction panicf
)

Registers a new at panic function, and returns the old one.

Lua Docs.

Implementation

lua_CFunction atpanic(lua_CFunction panicf) =>
    lua.lua.lua_atpanic(pointer, panicf);