Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

try again

  • Loading branch information...
commit 781777aa417b9fc2832dc408f42e43bfabd5b007 1 parent 08e05c3
cjdelisle authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 HACKING.md
View
8 HACKING.md
@@ -20,7 +20,8 @@ remove carrage return characters as lines in the codebase are \n deliniated.
followed by an underscore and then the name of the function.
AKA:
- `ThingThatDoesStuff_doStuff()`
+
+ ThingThatDoesStuff_doStuff()
* Functions and local variables shall use camelCase names with first letter lowercase.
* Structures declared in header files must begin with, or be, the name of the header in which they
@@ -29,11 +30,12 @@ are declared.
* All preprocessor definitions in header files must contain the name of the header file followed
by an underscore and the definition name in all capitals AKA:
- `#define SillyMath_VALUE_OF_PI 3`
+
+ #define SillyMath_VALUE_OF_PI 3
or
- `#define SillyMath_DIVIDE(a,b) (a / b)`
+ #define SillyMath_DIVIDE(a,b) (a / b)`
it is sometimes acceptable for macros to use camel case as is done in Endian.h, use judgement.
Please sign in to comment.
Something went wrong with that request. Please try again.