BlitzMax Extended  0.8.16
Pushing Blitz to the Max.
Data Fields
BBShortArray Struct Reference

Helper array object storing BBShorts. More...

#include <blitz_array.h>

+ Inheritance diagram for BBShortArray:

Data Fields

BBClassclas
 The class of the array.
int refs
 The number of times an instance is currently used.
const char * type
 The TypeTag of the data type which the array stores.
BBSize dims
 The number of the array's dimensions.
BBSize size
 The size of the array's data section in bytes.
BBSize scales [1]
 The number of elements each dimension can hold.
BBShort data []
 The array's data as a BBShort C-style array.
- Data Fields inherited from BBArray
- Data Fields inherited from BBObject

Detailed Description

Helper array object storing BBShorts.


Field Documentation

BBClass* BBShortArray::clas

The class of the array.

Warning:
Should always point to bbArrayClass
See also:
bbArrayClass

Reimplemented from BBArray.

int BBShortArray::refs

The number of times an instance is currently used.

Note:
Only used in single-threaded mode (by the reference-counting GC).
Warning:
Do not change or read this manually, as it is controlled be the runtime.

Reimplemented from BBArray.

BBSize BBShortArray::scales[1]

The number of elements each dimension can hold.

The first dimension of this array (scales[0]) contains the number of all elements the array holds. It can be used as the array's length.

Reimplemented from BBArray.

BBSize BBShortArray::size

The size of the array's data section in bytes.

Note:
The size of the header (the BBArray struct) is not included.
See also:
BBARRAY_SIZE

Reimplemented from BBArray.