element_kill, element_list_kill

The element_kill function deletes a single drawing element; the element_list_kill function deletes all drawing elements in the element list.

Syntax

element_kill(PELEMENT_HEADER element)

element_list_kill(PELEMENT_HEADER element)

The element_kill and element_list_kill functions have these parameters:

Parameter Description
PELEMENT_HEADER
element Pointer to one or more elements to initialize.

Example

void kill_routine()

{

element_list_kill(list);

}