FORM  4.3
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 349 of file structs.h.

Field Documentation

◆ tablepointers

WORD* tablepointers

[D] Start in tablepointers table.

Definition at line 350 of file structs.h.

◆ prototype

WORD* prototype

[D] The wildcard prototyping for arguments

Definition at line 355 of file structs.h.

◆ pattern

WORD* pattern

The pattern with which to match the arguments

Definition at line 356 of file structs.h.

◆ mm

MINMAX* mm

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

Definition at line 358 of file structs.h.

◆ flags

WORD* flags

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

Definition at line 359 of file structs.h.

◆ boomlijst

COMPTREE* boomlijst

[D] Tree for searching in sparse tables

Definition at line 360 of file structs.h.

◆ argtail

UBYTE* argtail

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

Definition at line 361 of file structs.h.

◆ spare

struct TaBlEs* spare

[D] For tablebase. Alternatingly stubs and real

Definition at line 363 of file structs.h.

◆ buffers

WORD* buffers

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

Definition at line 364 of file structs.h.

◆ totind

LONG totind

Total number requested

Definition at line 365 of file structs.h.

◆ reserved

LONG reserved

Total reservation in tablepointers for sparse

Definition at line 366 of file structs.h.

◆ defined

LONG defined

Number of table elements that are defined

Definition at line 367 of file structs.h.

◆ mdefined

LONG mdefined

Same as defined but after .global

Definition at line 368 of file structs.h.

◆ prototypeSize

int prototypeSize

Size of allocated memory for prototype in bytes.

Definition at line 369 of file structs.h.

◆ numind

int numind

Number of array indices

Definition at line 370 of file structs.h.

◆ bounds

int bounds

Array bounds check on/off.

Definition at line 371 of file structs.h.

◆ strict

int strict

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

Definition at line 372 of file structs.h.

◆ sparse

int sparse

0 –> sparse table

Definition at line 373 of file structs.h.

◆ numtree

int numtree

For the tree for sparse tables

Definition at line 374 of file structs.h.

◆ rootnum

int rootnum

For the tree for sparse tables

Definition at line 375 of file structs.h.

◆ MaxTreeSize

int MaxTreeSize

For the tree for sparse tables

Definition at line 376 of file structs.h.

◆ bufnum

WORD bufnum

Each table potentially its own buffer

Definition at line 377 of file structs.h.

◆ bufferssize

WORD bufferssize

When we use more than one compiler buffer

Definition at line 378 of file structs.h.

◆ buffersfill

WORD buffersfill

When we use more than one compiler buffer

Definition at line 379 of file structs.h.

◆ tablenum

WORD tablenum

For testing of tableuse

Definition at line 380 of file structs.h.

◆ mode

WORD mode

0: normal, 1: stub

Definition at line 381 of file structs.h.


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