"Fossies" - the Fresh Open Source Software Archive

Member "mesa-20.1.8/docs/codingstyle.html" (16 Sep 2020, 4452 Bytes) of package /linux/misc/mesa-20.1.8.tar.xz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the mesa-20.1.8.tar.xz project site itself.

The Mesa 3D Graphics Library

Coding Style

Mesa is over 20 years old and the coding style has evolved over time. Some old parts use a style that's a bit out of date. Different sections of mesa can use different coding style as set in the local EditorConfig (.editorconfig) and/or Emacs (.dir-locals.el) file. Alternatively the following is applicable. If the guidelines below don't cover something, try following the format of existing, neighboring code.

Basic formatting guidelines