lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

 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