GLibサポート用の型

GLibサポート用の型 — GLibサポート付きテストで使う型です。

概要

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);

説明

GLibサポート付きテストで使う型がいくつかあります。

詳細

GCutInspectFunction ()

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

data要素の詳細を示すときに呼ばれる関数の型です。データ要素のポインタを渡されるので、dataの詳細をstringに追加してください。

string :

詳細情報を保存するGString

data :

詳細化されるデータ。

user_data :

関数に渡すユーザ用データ。

1.0.6から


GCUT_TYPE_ERROR

#define GCUT_TYPE_ERROR (gcut_error_get_type())

GErrorへの参照を保持するGBoxed型のGType

1.0.7から


GCUT_TYPE_SIZE

#define GCUT_TYPE_SIZE (gcut_size_get_type())

gsizeのためのGType

1.1.3から


gcut_error_get_type ()

GType               gcut_error_get_type                 (void);

戻り値 :


gcut_size_get_type ()

GType               gcut_size_get_type                  (void);

戻り値 :