gsize size;
} ghb_rawdata_t;
-typedef struct
-{
- gint index;
- gchar *option;
- gchar *shortOpt;
- gchar *svalue;
- gint ivalue;
-} ghb_combodata_t;
-
-GType ghb_combodata_get_type(void);
-void ghb_value_set_combodata(
- GValue *gval,
- gint index,
- const gchar *option,
- const gchar *shortOpt,
- const gchar *svalue,
- gint ivalue);
-
GType ghb_rawdata_get_type(void);
GType ghb_array_get_type(void);
GType ghb_dict_get_type(void);
GValue* ghb_array_get_nth(const GValue *array, gint ii);
void ghb_array_insert(GValue *gval, guint ii, GValue *val);
+void ghb_array_replace(GValue *gval, guint ii, GValue *val);
void ghb_array_append(GValue *gval, GValue *val);
void ghb_array_remove(GValue *gval, guint ii);
gint ghb_array_len(const GValue *gval);
+void ghb_array_copy(GValue *arr1, GValue *arr2, gint count);
void ghb_value_free(GValue *gval);
GValue* ghb_value_new(GType gtype);
GValue* ghb_int_value_new(gint ival);
GValue* ghb_double_value_new(gdouble dval);
GValue* ghb_boolean_value_new(gboolean bval);
-GValue* ghb_combo_value_new(
- gint index,
- const gchar *option,
- const gchar *shortOpt,
- const gchar *svalue,
- gint ivalue);
GValue* ghb_dict_value_new(void);
GValue* ghb_array_value_new(guint size);
void ghb_array_value_reset(GValue *gval, guint size);
void ghb_dict_insert(GValue *gval, gchar *key, GValue *val);
void ghb_dict_iter_init(GHashTableIter *iter, GValue *gval);
-GValue* ghb_dict_lookup(GValue *gval, const gchar *key);
+GValue* ghb_dict_lookup(const GValue *gval, const gchar *key);
gboolean ghb_dict_remove(GValue *gval, const gchar *key);
+void ghb_register_transforms(void);
+void debug_show_value(GValue *gval);
+void debug_show_type(GType tp);
#endif // _GHB_VALUES_H_