CEL_DATAPTR
Gets the pointer to a cel's data buffer.
Synopsis
CelData * CEL_DATAPTR (ccb)
Description
This macro evaluates to a pointer to the cel's data buffer. It takes the CCB_SPABS flag into account and always returns an absolute pointer, even when the CCB contains a relative offset in the ccb_SourcePtr field.
This macro evaluates its argument more than once; be careful of side effects. It is usable in an expression context.
Arguments
- ccb
- Pointer to a cel.
Return Value
Pointer to the cel's data buffer, a CelData* type.
Implementation
Macro
Associated Files
lib3do.lib, celutils.h