kopia lustrzana https://github.com/micropython/micropython
CODECONVENTIONS.md: Header files no longer follow Plan 9 conventions.
rodzic
92d95cc9d3
commit
2474c2ae94
|
@ -33,9 +33,8 @@ Braces:
|
||||||
closing brace.
|
closing brace.
|
||||||
|
|
||||||
Header files:
|
Header files:
|
||||||
- Try to stick to the Plan 9 header style, where header files do not
|
- Header files should be protected from multiple inclusion with #if
|
||||||
include other header files.
|
directives. See an existing header for naming convention.
|
||||||
- Don't protect a header file from multiple inclusion with #if directives.
|
|
||||||
|
|
||||||
Type names and declarations:
|
Type names and declarations:
|
||||||
- When defining a type, put '_t' after it.
|
- When defining a type, put '_t' after it.
|
||||||
|
|
Ładowanie…
Reference in New Issue