FORM  4.1
Data Fields
TaBlEs Struct Reference

#include <structs.h>

Data Fields

WORD * tablepointers
 
WORD * prototype
 
WORD * pattern
 
MINMAXmm
 
WORD * flags
 
COMPTREEboomlijst
 
UBYTE * argtail
 
struct TaBlEsspare
 
WORD * buffers
 
LONG totind
 
LONG reserved
 
LONG defined
 
LONG mdefined
 
int prototypeSize
 
int numind
 
int bounds
 
int strict
 
int sparse
 
int numtree
 
int rootnum
 
int MaxTreeSize
 
WORD bufnum
 
WORD bufferssize
 
WORD buffersfill
 
WORD tablenum
 
WORD mode
 
WORD numdummies
 

Detailed Description

buffers, mm, flags, and prototype are always dynamically allocated, tablepointers only if needed (=0 if unallocated), boomlijst and argtail only for sparse tables.

Allocation is done for both the normal and the stub instance (spare), except for prototype and argtail which share memory.

Definition at line 337 of file structs.h.

Field Documentation

WORD* tablepointers

[D] Start in tablepointers table.

Definition at line 338 of file structs.h.

Referenced by DoRecovery(), and TestSub().

WORD* prototype

[D] The wildcard prototyping for arguments

Definition at line 343 of file structs.h.

Referenced by DoRecovery(), and TestSub().

WORD* pattern

The pattern with which to match the arguments

Definition at line 344 of file structs.h.

Referenced by DoRecovery(), and TestSub().

MINMAX* mm

[D] Array bounds, dimension by dimension. # elements = numind.

Definition at line 346 of file structs.h.

Referenced by DoRecovery(), and TestSub().

WORD* flags

[D] Is element in use ? etc. # elements = numind.

Definition at line 347 of file structs.h.

Referenced by DoRecovery().

COMPTREE* boomlijst

[D] Tree for searching in sparse tables

Definition at line 348 of file structs.h.

Referenced by DoRecovery().

UBYTE* argtail

[D] The arguments in characters. Starts for tablebase with parenthesis to indicate tail

Definition at line 349 of file structs.h.

Referenced by DoRecovery().

struct TaBlEs* spare

[D] For tablebase. Alternatingly stubs and real

Definition at line 351 of file structs.h.

Referenced by DoRecovery().

WORD* buffers

[D] When we use more than one compiler buffer.

Definition at line 352 of file structs.h.

Referenced by DoRecovery().

LONG totind

Total number requested

Definition at line 353 of file structs.h.

Referenced by DoRecovery().

LONG reserved

Total reservation in tablepointers for sparse

Definition at line 354 of file structs.h.

Referenced by DoRecovery().

LONG defined

Number of table elements that are defined

Definition at line 355 of file structs.h.

LONG mdefined

Same as defined but after .global

Definition at line 356 of file structs.h.

int prototypeSize

Size of allocated memory for prototype in bytes.

Definition at line 357 of file structs.h.

Referenced by DoRecovery().

int numind

Number of array indices

Definition at line 358 of file structs.h.

Referenced by DoRecovery(), and TestSub().

int bounds

Array bounds check on/off.

Definition at line 359 of file structs.h.

Referenced by TestSub().

int strict

>0: all must be defined. <0: undefined not substitute

Definition at line 360 of file structs.h.

Referenced by TestSub().

int sparse

0 –> sparse table

Definition at line 361 of file structs.h.

Referenced by DoRecovery(), and TestSub().

int numtree

For the tree for sparse tables

Definition at line 362 of file structs.h.

int rootnum

For the tree for sparse tables

Definition at line 363 of file structs.h.

int MaxTreeSize

For the tree for sparse tables

Definition at line 364 of file structs.h.

Referenced by DoRecovery().

WORD bufnum

Each table potentially its own buffer

Definition at line 365 of file structs.h.

Referenced by TestSub().

WORD bufferssize

When we use more than one compiler buffer

Definition at line 366 of file structs.h.

Referenced by DoRecovery().

WORD buffersfill

When we use more than one compiler buffer

Definition at line 367 of file structs.h.

WORD tablenum

For testing of tableuse

Definition at line 368 of file structs.h.

WORD mode

0: normal, 1: stub

Definition at line 369 of file structs.h.


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