Data Fields
listvar_S Struct Reference

#include <typval.h>

Data Fields

listitem_Tlv_first
 First item, NULL if none. More...
 
listitem_Tlv_last
 Last item, NULL if none. More...
 
listwatch_Tlv_watch
 First watcher, NULL if none. More...
 
listitem_Tlv_idx_item
 When not NULL item at index "lv_idx". More...
 
list_Tlv_copylist
 Copied list used by deepcopy(). More...
 
list_Tlv_used_next
 next list in used lists list. More...
 
list_Tlv_used_prev
 Previous list in used lists list. More...
 
int lv_refcount
 Reference count. More...
 
int lv_len
 Number of items. More...
 
int lv_idx
 Index of a cached item, used for optimising repeated l[idx]. More...
 
int lv_copyID
 ID used by deepcopy(). More...
 
VarLockStatus lv_lock
 Zero, VAR_LOCKED, VAR_FIXED. More...
 

Detailed Description

Structure to hold info about a list Order of members is optimized to reduce padding.

Field Documentation

int listvar_S::lv_copyID

ID used by deepcopy().

list_T* listvar_S::lv_copylist

Copied list used by deepcopy().

listitem_T* listvar_S::lv_first

First item, NULL if none.

int listvar_S::lv_idx

Index of a cached item, used for optimising repeated l[idx].

listitem_T* listvar_S::lv_idx_item

When not NULL item at index "lv_idx".

listitem_T* listvar_S::lv_last

Last item, NULL if none.

int listvar_S::lv_len

Number of items.

VarLockStatus listvar_S::lv_lock

Zero, VAR_LOCKED, VAR_FIXED.

int listvar_S::lv_refcount

Reference count.

list_T* listvar_S::lv_used_next

next list in used lists list.

list_T* listvar_S::lv_used_prev

Previous list in used lists list.

listwatch_T* listvar_S::lv_watch

First watcher, NULL if none.


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