1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-24 00:23:27 +00:00

DOCS/contribute.md: expand on recommended C99 usage

This commit is contained in:
wm4 2019-09-21 16:35:45 +02:00
parent 511a73c5ce
commit dc7bd2ca29

View File

@ -152,7 +152,7 @@ General coding
--------------
- Use C99. Also freely make use of C99 features if it's appropriate, such as
stdbool.h.
stdbool.h. (Except VLA and complex number types.)
- Don't use GNU-only features. In some cases they may be warranted, if they
are optional (such as attributes enabling printf-like format string checks).
But in general, standard C99 should be used.