... | ... | @@ -48,6 +48,18 @@ typedef struct my_struct_s { |
|
|
} my_struct_t;
|
|
|
```
|
|
|
|
|
|
This is also true for functions:
|
|
|
|
|
|
```c
|
|
|
int Foo(bool isBar) {
|
|
|
if (isBar) {
|
|
|
bar();
|
|
|
return 1;
|
|
|
} else
|
|
|
return 0;
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 1.1 Braces and Comments ##
|
|
|
|
|
|
Adding a comment to closing braces can help when you are reading code because you don't have to find the begin brace to know what is going on.
|
... | ... | |