mirror of
https://github.com/cc65/cc65.git
synced 2025-01-15 07:31:32 +00:00
Update Contributing.md
This commit is contained in:
parent
2314cddb5a
commit
8bdc3b092c
@ -51,6 +51,9 @@ color := $0787
|
|||||||
The following is still very incomplete - if in doubt please look at existing sourcefiles and adapt to the existing style
|
The following is still very incomplete - if in doubt please look at existing sourcefiles and adapt to the existing style
|
||||||
|
|
||||||
* Your files should obey the C89 standard.
|
* Your files should obey the C89 standard.
|
||||||
|
* We generally have a "no warnings" policy
|
||||||
|
* Warnings must not be hidden by using typecasts - fix the code instead
|
||||||
|
* In printf-style functions use the PRIX64 (and similar) macros to deal with 64bit values
|
||||||
* The normal indentation width should be four spaces.
|
* The normal indentation width should be four spaces.
|
||||||
* You must use ANSI C comments (```/* */```); you must not use C++ comments (```//```).
|
* You must use ANSI C comments (```/* */```); you must not use C++ comments (```//```).
|
||||||
* When you add functions to an existing file, you should separate them by the same number of blank lines that separate the functions that already are in that file.
|
* When you add functions to an existing file, you should separate them by the same number of blank lines that separate the functions that already are in that file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user