CEL_PRE1WORD
Gets the Preamble Word 1 value from a cel.
Synopsis
uint32 CEL_PRE1WORD (ccb)
Description
This macro evaluates to the Preamble Word 1 value for the cel. It takes the CCB_CCBPRE flag into account and retrieves the preamble word from the CCB or the cel data buffer as appropriate.
This macro evaluates its argument more than once; be careful of side effects. It is usable in expression context.
Arguments
- ccb
- Pointer to a cel.
Return Value
The cel's preamble word 1 value, a uint3 2type. The ccb_PRE1 or second cel data word are mindlessly returned regardless of whether the cel actually requires a PRE1 control word.
Implementation
Macro
Associated Files
lib3do.lib, celutils.h