Skip to content
Travis Geiselbrecht edited this page Mar 25, 2016 · 2 revisions

Style

  • 4 space indents
  • Wrap lines at around 100 characters (can violate occasionally)
  • Braces on same line as conditional, new line for function declarations
  • #pragma once preferred for header files

Scripts to automate

./scripts/codestyle.space <files> will run astyle on any files passed and replace the file with the new copy. Astyle must be installed on the host machine.

Clone this wiki locally