Data Fields

# Proto Struct Reference

`#include <lua/lobject.h>`

Collaboration diagram for Proto:
[legend]

## Data Fields
GCObject * | next
lu_byte | tt
lu_byte | marked
TValue * | k
Instruction * | code
struct Proto ** | p
int * | lineinfo
struct LocVar * | locvars
TString ** | upvalues
TString * | source
int | sizeupvalues
int | sizek
int | sizecode
int | sizelineinfo
int | sizep
int | sizelocvars
int | linedefined
int | lastlinedefined
GCObject * | gclist
lu_byte | nups
lu_byte | numparams
lu_byte | is_vararg
lu_byte | maxstacksize

## Detailed Description

Definition at line 231 of file lobject.h.

## Field Documentation

Instruction* Proto::code

Definition at line 234 of file lobject.h.

Referenced by close_func(), constructor(), fixjump(), getjump(), getjumpcontrol(), LoadCode(), luaD_precall(), luaF_freeproto(), luaF_newproto(), luaK_code(), luaK_nil(), precheck(), and symbexec().

GCObject* Proto::gclist

Definition at line 248 of file lobject.h.

Referenced by propagatemark().

lu_byte Proto::is_vararg

Definition at line 251 of file lobject.h.

Referenced by adjust_varargs(), DumpFunction(), LoadFunction(), luaD_precall(), luaF_newproto(), luaY_parser(), parlist(), precheck(), simpleexp(), and symbexec().

TValue* Proto::k

Definition at line 233 of file lobject.h.

Referenced by addk(), close_func(), DumpConstants(), getobjname(), kname(), LoadConstants(), luaF_freeproto(), luaF_newproto(), luaV_execute(), symbexec(), and traverseproto().

int Proto::lastlinedefined

Definition at line 247 of file lobject.h.

Referenced by body(), DumpFunction(), funcinfo(), LoadFunction(), and luaF_newproto().

int Proto::linedefined

Definition at line 246 of file lobject.h.

Referenced by body(), DumpFunction(), errorlimit(), funcinfo(), LoadFunction(), and luaF_newproto().

int* Proto::lineinfo

Definition at line 236 of file lobject.h.

Referenced by close_func(), collectvalidlines(), DumpDebug(), LoadDebug(), luaF_freeproto(), luaF_newproto(), luaK_code(), and luaK_fixline().

struct LocVar* Proto::locvars

Definition at line 237 of file lobject.h.

Referenced by close_func(), DumpDebug(), LoadDebug(), luaF_freeproto(), luaF_getlocalname(), luaF_newproto(), registerlocalvar(), and traverseproto().

lu_byte Proto::marked

Definition at line 232 of file lobject.h.

lu_byte Proto::maxstacksize

Definition at line 252 of file lobject.h.

Referenced by chunk(), DumpFunction(), LoadFunction(), luaD_precall(), luaF_newproto(), luaK_checkstack(), open_func(), and precheck().

GCObject* Proto::next

Definition at line 232 of file lobject.h.

lu_byte Proto::numparams

Definition at line 250 of file lobject.h.

Referenced by adjust_varargs(), DumpFunction(), LoadFunction(), luaD_precall(), luaF_newproto(), luaV_execute(), parlist(), and precheck().

lu_byte Proto::nups

Definition at line 249 of file lobject.h.

Referenced by close_func(), DumpFunction(), f_parser(), indexupvalue(), LoadFunction(), luaF_newproto(), luaV_execute(), luaY_parser(), precheck(), pushclosure(), symbexec(), and traverseclosure().

struct Proto** Proto::p

Definition at line 235 of file lobject.h.

Referenced by close_func(), DumpConstants(), LoadConstants(), luaF_freeproto(), luaF_newproto(), luaV_execute(), pushclosure(), symbexec(), and traverseproto().

int Proto::sizecode

Definition at line 242 of file lobject.h.

Referenced by close_func(), LoadCode(), luaF_freeproto(), luaF_newproto(), luaG_checkcode(), luaK_code(), precheck(), propagatemark(), and symbexec().

int Proto::sizek

Definition at line 241 of file lobject.h.

Referenced by addk(), checkArgMode(), close_func(), DumpConstants(), LoadConstants(), luaF_freeproto(), luaF_newproto(), propagatemark(), and traverseproto().

int Proto::sizelineinfo

Definition at line 243 of file lobject.h.

Referenced by close_func(), collectvalidlines(), DumpDebug(), LoadDebug(), luaF_freeproto(), luaF_newproto(), luaK_code(), precheck(), and propagatemark().

int Proto::sizelocvars

Definition at line 245 of file lobject.h.

Referenced by close_func(), DumpDebug(), LoadDebug(), luaF_freeproto(), luaF_getlocalname(), luaF_newproto(), propagatemark(), registerlocalvar(), and traverseproto().

int Proto::sizep

Definition at line 244 of file lobject.h.

Referenced by close_func(), DumpConstants(), LoadConstants(), luaF_freeproto(), luaF_newproto(), propagatemark(), pushclosure(), and traverseproto().

int Proto::sizeupvalues

Definition at line 240 of file lobject.h.

Referenced by close_func(), DumpDebug(), indexupvalue(), LoadDebug(), luaF_freeproto(), luaF_newproto(), precheck(), propagatemark(), and traverseproto().

TString* Proto::source

Definition at line 239 of file lobject.h.

Referenced by DumpConstants(), DumpFunction(), funcinfo(), LoadConstants(), LoadFunction(), luaF_newproto(), open_func(), and traverseproto().

lu_byte Proto::tt

Definition at line 232 of file lobject.h.

TString** Proto::upvalues

Definition at line 238 of file lobject.h.

Referenced by aux_upvalue(), close_func(), DumpDebug(), getobjname(), indexupvalue(), LoadDebug(), luaF_freeproto(), luaF_newproto(), and traverseproto().

The documentation for this struct was generated from the following file:

- lua/lobject.h