Create a coroutine to run plans
This commit is contained in:
@@ -15,17 +15,10 @@
|
||||
|
||||
// traceback_coroutine
|
||||
//
|
||||
// Given a coroutine and an error message, returns a traceback
|
||||
// of the coroutine.
|
||||
// Given a coroutine which contains an error message, pop the error
|
||||
// message from the coroutine, and push a traceback onto L.
|
||||
//
|
||||
int traceback_coroutine(lua_State *L);
|
||||
|
||||
// traceback_handler
|
||||
//
|
||||
// The function 'pcall' expects you to pass in a message handler routine.
|
||||
// 'traceback_handler' is designed to be used as this argument to pcall.
|
||||
//
|
||||
int traceback_handler(lua_State *L);
|
||||
void traceback_coroutine(lua_State *L, lua_State *CO);
|
||||
|
||||
// traceback_pcall
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user