Port state.c and all code that calls into it

This commit is contained in:
Kovid Goyal
2017-11-14 16:58:32 +05:30
parent 141a08ec7c
commit c69145b6bc
8 changed files with 128 additions and 99 deletions

View File

@@ -29,7 +29,8 @@ typedef struct {
typedef struct {
PyObject_HEAD
unsigned int columns, lines, margin_top, margin_bottom, charset, scrolled_by, last_selection_scrolled_by, window_id;
unsigned int columns, lines, margin_top, margin_bottom, charset, scrolled_by, last_selection_scrolled_by;
id_type window_id;
uint32_t utf8_state, utf8_codepoint, *g0_charset, *g1_charset, *g_charset;
Selection selection;
SelectionBoundary last_rendered_selection_start, last_rendered_selection_end;