Details
GTS_CONTAINER_CLASS()
#define GTS_CONTAINER_CLASS(klass)
GTS_CONTAINER()
#define GTS_CONTAINER(obj)
GTS_IS_CONTAINER()
#define GTS_IS_CONTAINER(obj)
struct GtsContainerClass
struct GtsContainerClass {
GtsSListContaineeClass parent_class;
void (* add) (GtsContainer *, GtsContainee *);
void (* remove) (GtsContainer *, GtsContainee *);
void (* foreach) (GtsContainer *, GtsFunc, gpointer);
guint (* size) (GtsContainer *);
};
struct GtsContainer
struct GtsContainer {
GtsSListContainee object;
};
The container object.
gts_container_size ()
guint gts_container_size (GtsContainer *c);
gts_container_foreach ()
void gts_container_foreach (GtsContainer *c,
GtsFunc func,
gpointer data);
GTS_HASH_CONTAINER_CLASS()
#define GTS_HASH_CONTAINER_CLASS(klass)
GTS_HASH_CONTAINER()
#define GTS_HASH_CONTAINER(obj)
GTS_IS_HASH_CONTAINER()
#define GTS_IS_HASH_CONTAINER(obj)
struct GtsHashContainerClass
struct GtsHashContainerClass {
GtsContainerClass parent_class;
};
struct GtsHashContainer
struct GtsHashContainer {
GtsContainer c;
GHashTable * items;
gboolean frozen;
};
GTS_SLIST_CONTAINER_CLASS()
#define GTS_SLIST_CONTAINER_CLASS(klass)
GTS_SLIST_CONTAINER()
#define GTS_SLIST_CONTAINER(obj)
GTS_IS_SLIST_CONTAINER()
#define GTS_IS_SLIST_CONTAINER(obj)
struct GtsSListContainerClass
struct GtsSListContainerClass {
GtsContainerClass parent_class;
};
struct GtsSListContainer
struct GtsSListContainer {
GtsContainer c;
GSList * items;
gboolean frozen;
};