Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Coding style

FakenMC edited this page Dec 10, 2014 · 5 revisions
  • Encoding: UTF-8
  • Tabs: real tabs, no spaces
  • Line size limit: 72 chars when possible
  • Code documentation: Doxygen style with @ for tags
  • Naming and case:
    • Functions and function-like macros: ccl_lower_case_with_underscores, begin with the cf4ocl namespace ccl_
    • Classes (typedef'd structs): CCLCamelCase, begin with the cf4ocl namespace CCL
    • Define constants: UPPER_CASE_WITH_UNDERSCORES
Clone this wiki locally