benilla-re systems structs docs

s_debugstackNameKinds

global · ui

Address
0x7039cc · 8 bytes, up to 0x7039d3
Type
const uint8_t[8]
Meaning
Maps the first letter of a name kind, f to m, to the two arms of 0x7039c4
Confidence
verified, proof two
Finding
ui/luastate#debugstacks-lines

Finding: debugstack's lines in ui: the Lua state, its library and C functions

A line is short_src, :, the current line and : when above 0, the description and a newline. The description is in function `name' when the name kind begins with f, g, l or m; else in main chunk for a main chunk, ? for a C function or a tail call, and in function <short_src:linedefined> otherwise. Levels start to start + head − 1 print. At a later level L, when level L + 1 + tail exists, ... and a newline replace the levels before the last tail; otherwise every level prints, so up to head + tail + 1 levels print whole.

The derivation is in the doc.