[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to provide a name for c function to lua_getinfo()?
- From: "Kartik Agaram" <ak@...>
- Date: Wed, 08 Nov 2023 07:05:02 -0800
> In Lua, "function f() end" is just sugar for "f = function() end". They both produce exactly the same code:
I'm wondering now how debug.traceback computes names of functions. Does it scan bindings from _G (but not locals within functions)?