Changeset 28a5ebd in mainline for uspace/lib/c/include/io
- Timestamp:
- 2020-06-18T15:39:50Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce52c333
- Parents:
- 4f663f3e
- Location:
- uspace/lib/c/include/io
- Files:
-
- 5 edited
-
charfield.h (modified) (2 diffs)
-
chargrid.h (modified) (1 diff)
-
input.h (modified) (1 diff)
-
kbd_event.h (modified) (1 diff)
-
printf_core.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/charfield.h
r4f663f3e r28a5ebd 38 38 39 39 #include <stdbool.h> 40 #include < wchar.h>40 #include <uchar.h> 41 41 #include <io/color.h> 42 42 #include <io/style.h> … … 77 77 78 78 typedef struct { 79 wchar_t ch;79 char32_t ch; 80 80 char_attrs_t attrs; 81 81 char_flags_t flags; -
uspace/lib/c/include/io/chargrid.h
r4f663f3e r28a5ebd 79 79 extern sysarg_t chargrid_get_top_row(chargrid_t *); 80 80 81 extern sysarg_t chargrid_put wchar(chargrid_t *, wchar_t, bool);81 extern sysarg_t chargrid_putuchar(chargrid_t *, char32_t, bool); 82 82 extern sysarg_t chargrid_newline(chargrid_t *); 83 83 extern sysarg_t chargrid_tabstop(chargrid_t *, sysarg_t); -
uspace/lib/c/include/io/input.h
r4f663f3e r28a5ebd 50 50 errno_t (*active)(input_t *); 51 51 errno_t (*deactive)(input_t *); 52 errno_t (*key)(input_t *, kbd_event_type_t, keycode_t, keymod_t, wchar_t);52 errno_t (*key)(input_t *, kbd_event_type_t, keycode_t, keymod_t, char32_t); 53 53 errno_t (*move)(input_t *, int, int); 54 54 errno_t (*abs_move)(input_t *, unsigned, unsigned, unsigned, unsigned); -
uspace/lib/c/include/io/kbd_event.h
r4f663f3e r28a5ebd 59 59 60 60 /** The character that was generated or '\0' for none. */ 61 wchar_t c;61 char32_t c; 62 62 } kbd_event_t; 63 63 -
uspace/lib/c/include/io/printf_core.h
r4f663f3e r28a5ebd 38 38 #include <stddef.h> 39 39 #include <stdarg.h> 40 #include <uchar.h> 40 41 41 42 /** Structure for specifying output methods for different printf clones. */ … … 45 46 46 47 /* Wide string output function, returns number of printed characters or EOF */ 47 int (*wstr_write)(const wchar_t *, size_t, void *);48 int (*wstr_write)(const char32_t *, size_t, void *); 48 49 49 50 /* User data - output stream specification, state, locks, etc. */
Note:
See TracChangeset
for help on using the changeset viewer.
