Revision c227f099 CODING_STYLE

b/CODING_STYLE
40 40

  
41 41
3. Naming
42 42

  
43
Variables are lower_case_with_underscores; easy to type and read.
44
Structured type names are in CamelCase; harder to type but standing
45
out.  Scalar type names are a_lower_case_beginning_with_an a or an.
46
Do not use _t suffix if you are including any headers.
43
Variables are lower_case_with_underscores; easy to type and read.  Structured
44
type names are in CamelCase; harder to type but standing out.  Scalar type
45
names are lower_case_with_underscores_ending_with_a_t, like the POSIX
46
uint64_t and family.  Note that this last convention contradicts POSIX
47
and is therefore likely to be changed.
48

  
49
Typedefs are used to eliminate the redundant 'struct' keyword.  It is the
50
QEMU coding style.
47 51

  
48 52
4. Block structure
49 53

  

Also available in: Unified diff