Next: bpipe_datatype_resolve, Previous: bpipe_datatype_init, Up: Utility Functions
Attach a name to a BPDataType
.
#include <bpipe/bpipe.h>char *bpipe_datatype_name(BPDataType type);
BPDataType type
- the datatype
Possible values for aBPDataType
are as follows:BPDType_char
,BPDType_double
,BPDType_int
,BPDType_uint
,BPDType_DVector2
,BPDType_DVector3
,BPDType_IVector2
,BPDType_IVector3
,BPDType_UIVector2
,BPDType_UIVector3
,BPDType_DComplex
,BPDType_DCVector2
,BPDType_DCVector3
Attach a name to a BPDataType
.
This routine will return a pointer to a string which contains the
name of the datatype corresponding to the passed BPDataType
value. If the passed value is bogus, it returns NULL
.
Please note that the pointer returned points to the original copy of
the field's name. Do not change this data!.