|
|
| version 1.6, 2004/02/25 17:35:29 | version 1.7, 2004/02/27 11:27:39 |
|---|---|
| Line 179 Enumeration values are all uppercase. | Line 179 Enumeration values are all uppercase. |
| enum enumtype { ONE, TWO } et; | enum enumtype { ONE, TWO } et; |
| .Ed | .Ed |
| .Pp | .Pp |
| As fixed size integers the \*[Px] defined types are prefered: | |
| .Bd -literal -offset indent | |
| uint8_t 8 bits fixed size unsigned integer | |
| uint16_t 16 bits fixed size unsigned integer | |
| uint32_t 32 bits fixed size unsigned integer | |
| uint64_t 64 bits fixed size unsigned integer | |
| .Ed | |
| .Pp | |
| When declaring variables in structures, declare them sorted by use, then | When declaring variables in structures, declare them sorted by use, then |
| by size, and then in alphabetical order. | by size, and then in alphabetical order. |
| The first category normally does not apply, but there are exceptions. | The first category normally does not apply, but there are exceptions. |