Next: , Previous: bpipe_datatype_size, Up: Internal Functions


A.5.6 bpipe_datatype_write

Write a data type specification to an output channel.

Synopsis

     #include <bpipe/bpipe.h>
     
     
     
int bpipe_datatype_write( IOchannel *channel, BPDataType type );

Parameters

IOchannel *channel
the output channel to which to write the specification
BPDataType type
the data type
          
          
Possible values for a BPDataType 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

Description

This routine writes a data type specification to the indicated output channel which is parseable by proc_defs.

Returns

It returns zero upon success, non-zero upon failure.