#define GUPPI_CATEGORY0 (obj)
#define GUPPI_IS_CATEGORY0 (obj)
typedef code_t;
void (*GuppiCategoryFn) (const gchar *str,
code_t code,
gpointer data);
#define GUPPI_INVALID_CODE
#define GUPPI_CATEGORY_CODE_TO_POINTER (x)
#define GUPPI_CATEGORY_POINTER_TO_CODE (x)
GuppiData* guppi_category_new (void);
gsize guppi_category_size (GuppiCategory*);
code_t guppi_category_min_code (GuppiCategory*);
code_t guppi_category_max_code (GuppiCategory*);
code_t guppi_category_unused_code (GuppiCategory*);
gboolean guppi_category_define (GuppiCategory*,
const gchar *str,
code_t);
code_t guppi_category_add_by_name (GuppiCategory*,
const gchar *str);
gboolean guppi_category_contains (GuppiCategory*,
const gchar*);
gboolean guppi_category_contains_code (GuppiCategory*,
code_t);
code_t guppi_category_find_by_name (GuppiCategory*,
const gchar*);
const gchar* guppi_category_find_by_code (GuppiCategory*,
code_t);
gboolean guppi_category_rename (GuppiCategory*,
code_t,
const gchar*);
void guppi_category_foreach (GuppiCategory*,
GuppiCategoryFn,
gpointer);
|