From 2c6f2f4ef5a50c36676308f6663c0d21edc6aa70 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 19 Nov 2016 21:02:42 +0000 Subject: More allocvec/malloc changes --- frontends/amiga/gui.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'frontends/amiga/gui.h') diff --git a/frontends/amiga/gui.h b/frontends/amiga/gui.h index 6d5188e44..f0abd4ccc 100644 --- a/frontends/amiga/gui.h +++ b/frontends/amiga/gui.h @@ -176,11 +176,13 @@ extern struct Screen *scrn; extern struct MsgPort *sport; extern struct gui_window *cur_gw; +/* The return value must be deallocated using FreeVec() */ +STRPTR ami_locale_langs(int *codeset); + void ami_get_msg(void); void ami_try_quit(void); void ami_quit_netsurf(void); void ami_schedule_redraw(struct gui_window_2 *gwin, bool full_redraw); -STRPTR ami_locale_langs(int *codeset); int ami_key_to_nskey(ULONG keycode, struct InputEvent *ie); bool ami_text_box_at_point(struct gui_window_2 *gwin, ULONG *restrict x, ULONG *restrict y); bool ami_mouse_to_ns_coords(struct gui_window_2 *gwin, int *restrict x, int *restrict y, -- cgit v1.2.3