}
gchar * value_to_text (union value v, const struct variable *);
-gchar * value_to_text__ (union value v, const struct fmt_spec *,
- const char *encoding);
+gchar * value_to_text__ (union value v, struct fmt_spec, const char *encoding);
union value *text_to_value (const gchar *text, const struct variable *,
union value *);
-union value *text_to_value__ (const gchar *text, const struct fmt_spec *,
+union value *text_to_value__ (const gchar *text, struct fmt_spec,
const gchar *encoding, union value *);
/* Create a deep copy of SRC */
gtk_box_pack_start (box, widget, TRUE, TRUE, 0);
}
+/* Starting with gcc8 the warning Wcast-function-type will
+ trigger if no intermediate (void (*)(void)) cast is done
+ for a function cast to GFunc when the number of parameters
+ is not 2. The reason is that the compiler behaviour in this
+ situation is undefined according to C standard although many
+ implementations rely on this. */
+#define GFUNC_COMPAT_CAST(x) ((GFunc) (void (*)(void)) (x))
+
+
+/* Return the width of an upper case M (in pixels) when rendered onto
+ WIDGET with its current style. */
+gdouble width_of_m (GtkWidget *widget);
+
#endif