Types for GLib support

Types for GLib support — Types that is used in test with GLib support.

Synopsis

void                (*GCutInspectFunction)              (GString *string,
                                                         gconstpointer data,
                                                         gpointer user_data);
#define             GCUT_TYPE_ERROR
GType               gcut_error_get_type                 (void);

Description

There are some types to be used in test with GLib support.

Details

GCutInspectFunction ()

void                (*GCutInspectFunction)              (GString *string,
                                                         gconstpointer data,
                                                         gpointer user_data);

Specifies the type of function which is called when the data element is inspected. It is passed the pointer to the data element, should inspect data and append inspected string to string.

string :

the GString to be stored inspected result.

data :

the data element to be inspected.

user_data :

user data to pass to the function.

Since 1.0.6


GCUT_TYPE_ERROR

#define GCUT_TYPE_ERROR (gcut_error_get_type())

The GType for a boxed type holding a GError reference.

Since 1.0.7


gcut_error_get_type ()

GType               gcut_error_get_type                 (void);

Use GCUT_TYPE_ERROR macro to get GType for GError instead of this function.

Returns :

The GType for a boxed type holding a GError reference.

Since 1.0.7