[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua_getinfo for C operators
- From: "Tom Spilman" <tom@...>
- Date: Mon, 11 Oct 2004 17:12:01 -0500
I'm trying to get my stack traces to return reasonable names for C
functions. In particular for C functions assigned to metamethod operators
+,-,*,/, etc. I thought that Lua did a lookup in the registry for C
function names, but it doesn't (maybe it should... Luiz, Roberto?). Is
there another way to get Lua to deduce a reasonable name in this case or
should I just write my own error traceback to do what I need?
Tom Spilman
Co-owner | Programmer
www.sickheadgames.com