lua-users home
lua-l archive

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


> It does not even work if the function was defined inline somewhere like that:
> 
> {
> 	foo = function()
> 		....
> 	end,
> 	pop = "pup",
> }
> 
> There is no way to extract the currect code.

struct lua_Debug contains these fields:
	int linedefined;      /* (S) */
	int lastlinedefined;  /* (S)