Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

Commit 13f317e

Browse files
authored
Update Contributing.md
1 parent b743b1a commit 13f317e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Contributing.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ color := $0787
7474

7575
The following is still very incomplete - if in doubt please look at existing sourcefiles and adapt to the existing style
7676

77-
* Your files should obey the C89 standard.
77+
* Your files should generally obey the C89 standard, with a few C99 things (this is a bit similar to what cc65 itself supports). The exceptions are:
78+
* use stdint.h for variables that require a certain bit size
79+
* In printf-style functions use the PRIX64 (and similar) macros to deal with 64bit values (from inttypes.h)
80+
This list is not necessarily complete - if in doubt, please ask.
7881
* We generally have a "no warnings" policy
79-
* Warnings must not be hidden by using typecasts - fix the code instead
80-
* In printf-style functions use the PRIX64 (and similar) macros to deal with 64bit values
82+
* Warnings must not be hidden by using typecasts - fix the code instead
8183
* The normal indentation width should be four spaces.
8284
* You must use ANSI C comments (```/* */```); you must not use C++ comments (```//```).
8385
* 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.

0 commit comments

Comments
 (0)