The Battle for Wesnoth  1.15.13+dev
Public Attributes | List of all members
TString Struct Reference

#include <lobject.h>

Public Attributes

 CommonHeader
 
lu_byte extra
 
lu_byte shrlen
 
unsigned int hash
 
union {
   size_t   lnglen
 
   struct TString *   hnext
 
u
 
char contents [1]
 

Detailed Description

Definition at line 364 of file lobject.h.

Member Data Documentation

◆ CommonHeader

TString::CommonHeader

Definition at line 365 of file lobject.h.

◆ contents

char TString::contents[1]

Definition at line 373 of file lobject.h.

◆ extra

lu_byte TString::extra

Definition at line 366 of file lobject.h.

Referenced by createstrobj(), llex(), luaS_hashlongstr(), and luaX_init().

◆ hash

unsigned int TString::hash

Definition at line 368 of file lobject.h.

Referenced by createstrobj(), luaS_hashlongstr(), luaS_remove(), and tablerehash().

◆ hnext

struct TString* TString::hnext

Definition at line 371 of file lobject.h.

Referenced by internshrstr(), luaS_remove(), and tablerehash().

◆ lnglen

size_t TString::lnglen

Definition at line 370 of file lobject.h.

Referenced by freeobj(), luaS_createlngstrobj(), luaS_eqlngstr(), and luaS_hashlongstr().

◆ shrlen

lu_byte TString::shrlen

Definition at line 367 of file lobject.h.

Referenced by freeobj(), and internshrstr().

◆ u

union { ... } TString::u

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