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

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

#include <blitz_types.h>

Data Fields

BBSize size
 The size of one instance in bytes.
void * init
 The value to which each uninitialized instance should be set.
const char * ident
 The identifier of the type.

Detailed Description

Contains useful information about each type key.

See also:
BBTypeKey

Field Documentation

const char* BBTypeKeyInfo::ident

The identifier of the type.

This contains a human readable string with the BlitzMax name of the type.

void* BBTypeKeyInfo::init

The value to which each uninitialized instance should be set.

This can be a simple value '0' or one of the built-in object type NULL pointers.

BBSize BBTypeKeyInfo::size

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.