Types

Types — Types that is used in test.

Synopsis

void                (*CutDestroyFunction)               (void *data);
typedef             cut_boolean;

Description

There are some types to be used in test.

Details

CutDestroyFunction ()

void                (*CutDestroyFunction)               (void *data);

Specifies the type of function which is called when a data element is destroyed. It is passed the pointer to the data element and should free any memory and resources allocated for it.

data :

the data element to be destroyed.

cut_boolean

typedef int cut_boolean;

A standard boolean type. Variables of this type should only contain the value CUT_TRUE or CUT_FALSE.