BlitzMax Extended  0.8.11
Pushing Blitz to the Max.
Data Fields
BBTypeKeyInfo Struct Reference

Contains useful information about each type key. More...

#include <blitz_types.h>

Data Fields

size_t size
 The size of one instance in bytes.
void * init
 The value to which each uninitialized instance should be set.

Detailed Description

Contains useful information about each type key.

See also:
BBTypeKey

Field Documentation

The value to which each uninitialized instance should be set.

This can be a simple value '0' or pointer to the default null object instances.

Referenced by bbArrayNew1D().

The size of one instance in bytes.

Basically this is just the value of 'sizeof ($DATATYPE)' stored. It can be used for allocating structures able to store different type values quickly.