webmcp

view framework/env/trace/_new_entry.lua @ 406:36f0d1d5ed7d

Further fixes in mondelefant.connect{...} (including proper handling of garbage collection in case of memory allocation errors); Code cleanup (use luaL_setmetatable, which is available since Lua 5.2)
author jbe
date Wed Jan 06 18:59:58 2016 +0100 (2016-01-06)
parents 04b648660f9a
children
line source
1 function trace._new_entry(node)
2 local node = node or {}
3 local stack = trace._stack
4 local parent = stack[#stack]
5 parent[#parent+1] = node
6 return node
7 end

Impressum / About Us