static int OnFinish(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); TypeWriter obj = (TypeWriter)ToLua.CheckObject(L, 1, typeof(TypeWriter)); obj.OnFinish(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int OnFinish(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); TypeWriter obj = (TypeWriter)ToLua.CheckObject(L, 1, typeof(TypeWriter)); obj.OnFinish(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }