Skip to content

Commit 8d4a858

Browse files
Update README.md
1 parent f632715 commit 8d4a858

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ Ex: `SDL_INIT_VIDEO` does not change into `SDLInitVideo`.
4646
2. Names of function parameters shall not be modified or "pascalified"
4747
Ex.: `type_` in `function SDL_GetEventState(type_: TSDL_EventType): UInt8` does not change into `evType`.
4848

49-
3. Use `UInt8`, `UInt16`, `UInt32`, `SInt8`, `SInt16`, `SInt32` and so on as often as possible.
50-
Do not use the Pascal equivalents.
51-
Ex.: Use `UInt32` instead of `Cardinal`, `LongWord` or `DWord`.
49+
3. Use C data types like `UInt8`, `UInt16`, `UInt32`, `SInt8`, `SInt16`,
50+
`SInt32`, `Float` and so on as often as possible if it is used in the
51+
original code. Do not replace them by Pascal equivalents.
52+
Ex.: Use `UInt32` (if used in
53+
the original code) instead of `Cardinal`, `LongWord` or `DWord` .
5254

5355
## Versions
5456

0 commit comments

Comments
 (0)