Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 418 Bytes

CODESTYLE.md

File metadata and controls

31 lines (20 loc) · 418 Bytes

Code Style

Types

TypesAreCapitalizedLikeThis

Enums

EnumType_EnumName

Struct members

like_this

notlikethis

Local variables

like_this

notlikethis

Global variables (or global statics)

g_variableName

Functions

modulenameFunctionName

Submodule function naming

Singletons use names like smInitialize/smExit

Objects use names like tmemCreate/tmemClose

Macros

LIKE_THIS