# LocVar Struct Reference

`#include <lua/lobject.h>`

Collaboration diagram for LocVar:
[legend]

## Data Fields

TString * | varname
int | startpc
int | endpc

## Detailed Description

Definition at line 262 of file lobject.h.

## Field Documentation

int LocVar::endpc

Definition at line 265 of file lobject.h.

Referenced by DumpDebug(), and LoadDebug().

int LocVar::startpc

Definition at line 264 of file lobject.h.

Referenced by DumpDebug(), LoadDebug(), and luaF_getlocalname().

TString* LocVar::varname

Definition at line 263 of file lobject.h.

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

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

- lua/lobject.h