Updated raylib coding conventions (markdown)

master
Ray 4 年之前
父節點
當前提交
6779ef2dad
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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))`
Defines | ALL_CAPS | `#define PLATFORM_DESKTOP`
Constants | lowerCase | `const int maxValue= 8`
Constants | lowerCase | `const int maxValue = 8`
Struct | TitleCase | `struct Texture2D`
Struct members |lowerCase | `texture.id`
Enum | TitleCase | `TextureFormat`

Loading…
取消
儲存