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
#define             GCUT_TYPE_SIZE
GType               gcut_error_get_type                 (void);
GType               gcut_size_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_TYPE_SIZE

#define GCUT_TYPE_SIZE (gcut_size_get_type())

The GType for gsize type.

Since 1.1.3


gcut_error_get_type ()

GType               gcut_error_get_type                 (void);


gcut_size_get_type ()

GType               gcut_size_get_type                  (void);