Updated raylib coding conventions (markdown)

master
Ray 4 years ago
parent
commit
de4df82c43
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      raylib-coding-conventions.md

+ 1
- 1
raylib-coding-conventions.md

@ -4,7 +4,7 @@ Code element | Convention | Example
--- | :---: | --- --- | :---: | ---
Macros | ALL_CAPS | `#define MIN(a,b) (((a)<(b))?(a):(b))` Macros | ALL_CAPS | `#define MIN(a,b) (((a)<(b))?(a):(b))`
Defines | ALL_CAPS | `#define PLATFORM_DESKTOP` Defines | ALL_CAPS | `#define PLATFORM_DESKTOP`
Constants | ALL_CAPS | `const int NUMBER = 8`
Constants | lowerCase | `const int maxValue= 8`
Struct | TitleCase | `struct Texture2D` Struct | TitleCase | `struct Texture2D`
Struct members |lowerCase | `texture.id` Struct members |lowerCase | `texture.id`
Enum | TitleCase | `TextureFormat` Enum | TitleCase | `TextureFormat`

Loading…
Cancel
Save