[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'agraphics' (#aros)

CINIT

Initialize user copperlist to accept intermediate user copper instructions.

Declaration

Source position: agraphics.pas line 2318

function CINIT(

  c: PUCopList;

  n: SmallInt

):PCopList;

Arguments

c

  

A pointer to UCopList structure

n

  

Number of instructions buffer must be able to hold

Description

Allocates and/or initialize copperlist structures/buffers internal to a UCopList structure.

This is a macro that calls UCopListInit. You must pass a (non-initialized) UCopList to CINIT (CINIT will NOT allocate a new UCopList if c = nil ). If (c >< nil) it will initialize the intermediate data buffers internal to a UCopList.

The maximum number of intermediate copper list instructions that these internal CopList data buffers contain is specified as the parameter n.

See also

CMOVE1

  

Append copper move instruction to user copper list.

CMOVE

  

Append copper move instruction to user copper list.

CEND

  

Terminate user copper list.


Documentation generated on: 2017-01-10