Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1#ifndef SC_KEYBOARD_AOA_H
2#define SC_KEYBOARD_AOA_H
3
4#include "common.h"
5
6#include <stdbool.h>
7
8#include "aoa_hid.h"
9#include "hid/hid_keyboard.h"
10#include "trait/key_processor.h"
11
12struct sc_keyboard_aoa {
13 struct sc_key_processor key_processor; // key processor trait
14
…lines 15–28 unchanged (14 lines)

After

1#ifndef SC_KEYBOARD_AOA_H
2#define SC_KEYBOARD_AOA_H
3
4#include "common.h"
5
6#include <stdbool.h>
7
8#include "hid/hid_keyboard.h"
9#include "usb/aoa_hid.h"
10#include "trait/key_processor.h"
11
12struct sc_keyboard_aoa {
13 struct sc_key_processor key_processor; // key processor trait
14
15 struct sc_hid_keyboard hid;
…lines 16–28 unchanged (13 lines)

Before

translation_unit
preproc_ifdef
#ifndef "#ifndef"
identifier "SC_KEYBOARD_AOA_H"
preproc_def
#define "#define"
identifier "SC_KEYBOARD_AOA_H"
preproc_include
#include "#include"
string_literal
" "\""
string_content "common.h"
" "\""
preproc_include
#include "#include"
system_lib_string "<stdbool.h>"
preproc_include
#include "#include"
string_literal
" "\""
string_content "aoa_hid.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "hid/hid_keyboard.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "trait/key_processor.h"
" "\""
struct_specifier (+31 nodes collapsed)
; ";"
declaration (+23 nodes collapsed)
declaration
primitive_type "void"
function_declarator
identifier "sc_keyboard_aoa_destroy"
parameter_list
( "("
parameter_declaration
struct_specifier
struct "struct"
type_identifier "sc_keyboard_aoa"
pointer_declarator
* "*"
identifier "kb"
) ")"
; ";"
#endif "#endif"

After

translation_unit
preproc_ifdef
#ifndef "#ifndef"
identifier "SC_KEYBOARD_AOA_H"
preproc_def
#define "#define"
identifier "SC_KEYBOARD_AOA_H"
preproc_include
#include "#include"
string_literal
" "\""
string_content "common.h"
" "\""
preproc_include
#include "#include"
system_lib_string "<stdbool.h>"
preproc_include
#include "#include"
string_literal
" "\""
string_content "hid/hid_keyboard.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "usb/aoa_hid.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "trait/key_processor.h"
" "\""
struct_specifier (+31 nodes collapsed)
; ";"
declaration (+23 nodes collapsed)
declaration
primitive_type "void"
function_declarator
identifier "sc_keyboard_aoa_destroy"
parameter_list
( "("
parameter_declaration
struct_specifier
struct "struct"
type_identifier "sc_keyboard_aoa"
pointer_declarator
* "*"
identifier "kb"
) ")"
; ";"
#endif "#endif"