Types

Types — Types that is used in test.

Synopsis

#define             CUT_FALSE
#define             CUT_TRUE
void                (*CutCallbackFunction)              (void);
void                (*CutDestroyFunction)               (void *data);
typedef             cut_boolean;

Description

There are some types to be used in test.

Details

CUT_FALSE

#define CUT_FALSE

Defines the CUT_FALSE value for the cut_boolean type.


CUT_TRUE

#define CUT_TRUE

Defines the CUT_TRUE value for the cut_boolean type.


CutCallbackFunction ()

void                (*CutCallbackFunction)              (void);


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.