From 1f81baffadad9d955b030a1a29b9b06042a66552 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Jan 2021 10:39:18 -0300 Subject: Janitorial work Comments, code details, identation. --- lstate.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 65d45264..f3d791ab 100644 --- a/lstate.h +++ b/lstate.h @@ -156,6 +156,16 @@ typedef struct stringtable { /* ** Information about a call. +** About union 'u': +** - field 'l' is used only for Lua functions; +** - field 'c' is used only for C functions. +** About union 'u2': +** - field 'funcidx' is used only by C functions while doing a +** protected call; +** - field 'nyield' is used only while a function is "doing" an +** yield (from the yield until the next resume); +** - field 'transferinfo' is used only during call/returnhooks, +** before the function starts or after it ends. */ typedef struct CallInfo { StkId func; /* function index in the stack */ -- cgit v1.2.3-55-g6feb