Gets details about an area diverse of confirmed activation record

Gets details about an area diverse of confirmed activation record

lua_getinfo

To obtain information about a features invocation, the parameter ar need to be a legitimate activation record which was stuffed by a past phone call to lua_getstack or given as argument to a hook (discover lua_Hook ).

To obtain details about a function your drive they on the heap and begin the just what string utilizing the figure ‘ > ‘. (if that’s the case, lua_getinfo pops the big event during the the top of bunch.) As an example, to know wherein range a function f had been identified, possible create here signal:

  • ‘ n ‘: fills in the field name and namewhat ;
  • ‘ S ‘: fills from inside the fields provider , short_src , linedefined , lastlinedefined , and what ;
  • ‘ l ‘: fills in the field currentline ;
  • ‘ u ‘: fills in the field nups ;
  • ‘ f ‘: forces on the pile the function definitely operating from the offered levels;
  • ‘ L ‘: forces on the bunch a table whoever indices seznamovacГ­ sluЕѕby polyamorous are quantities of the contours which happen to be appropriate regarding work. (a legitimate line is actually a line with some associated rule, which, a line where you could place a break aim. Non-valid lines integrate bare lines and comments.)

lua_getlocal

The factor ar must certanly be a valid activation record which was filled by a previous telephone call to lua_getstack or provided as argument to a hook (see lua_Hook ). The directory n selects which local diverse to examine (1 may be the earliest parameter or productive regional varying, an such like, before latest active neighborhood adjustable). lua_getlocal pushes the variable’s benefits onto the bunch and comes back the term.

Varying brands beginning with ‘ ( ‘ (available parentheses) signify inner factors (cycle control factors, temporaries, and C purpose natives). …