summaryrefslogtreecommitdiff
path: root/atari/misc.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-30 11:34:45 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-30 11:34:45 +0100
commit545644f23d388467e7cd3ce7562f1ff3e7ae6c29 (patch)
tree710b5e8f39582a6336734678568dae5c820b41fc /atari/misc.h
parent03566a1182809c00b1df4060645d17315e55660f (diff)
downloadnetsurf-545644f23d388467e7cd3ce7562f1ff3e7ae6c29.tar.gz
netsurf-545644f23d388467e7cd3ce7562f1ff3e7ae6c29.tar.bz2
update atari frontend to remove usage of depricated warn_user API
Diffstat (limited to 'atari/misc.h')
-rw-r--r--atari/misc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/atari/misc.h b/atari/misc.h
index 0ccaaa7a8..4c7ff02b9 100644
--- a/atari/misc.h
+++ b/atari/misc.h
@@ -75,8 +75,12 @@ void dbg_rect(const char * str, int * pxy);
const char * file_select(const char * title, const char * name);
/**
- * Convert NKC (atari normalized key code) to netsurf
- * Input key code and/or to ucs4 (depends on keycode).
+ * Convert NKC to netsurf input key code and/or to ucs4 (depends on keycode).
+ *
+ * \param[in] nkc atari normalized key code
+ * \param[out] ucs4_out The ucs4 converted keycode
+ * \return The netsurf input keycode or 0 and ucs4_out updated with
+ * the NKC converted to UC4 encoding.
*/
long nkc_to_input_key(short nkc, long * ucs4_out);