mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-27 00:54:14 +01:00
Note that comments on virtual functions are optional in the contributing
guidelines
This commit is contained in:
parent
1bb979a7e1
commit
57b5630422
@ -49,6 +49,7 @@ Notes:
|
|||||||
* The `DeviceState` object or other objects which are systematically used throughout multiple classes such as `ServiceManager` can be skipped from function argument documentation as well as class members in the constructor
|
* The `DeviceState` object or other objects which are systematically used throughout multiple classes such as `ServiceManager` can be skipped from function argument documentation as well as class members in the constructor
|
||||||
* The `KSession`, `IpcRequest` and `IpcResponse` objects in IPC command function arguments and other such objects (Such as `IoctlData`) can be skipped from function argument documentation if used in those contexts, they will need to be documented if they're used as a class member or something on those lines
|
* The `KSession`, `IpcRequest` and `IpcResponse` objects in IPC command function arguments and other such objects (Such as `IoctlData`) can be skipped from function argument documentation if used in those contexts, they will need to be documented if they're used as a class member or something on those lines
|
||||||
* Any class members don't need to be redundantly documented in the constructor
|
* Any class members don't need to be redundantly documented in the constructor
|
||||||
|
* Comments on virtual functions are optional
|
||||||
|
|
||||||
### Spacing
|
### Spacing
|
||||||
We generally follow the rule of **"Functional Spacing"**, that being spacing between chunks of code that do something functionally different while functionally similar blocks of code can be closer together.
|
We generally follow the rule of **"Functional Spacing"**, that being spacing between chunks of code that do something functionally different while functionally similar blocks of code can be closer together.
|
||||||
|
Loading…
Reference in New Issue
Block a user