~sircmpwn/cstyle

2bc638b08612e92468401fce5e220480fb3d4e71 — Drew DeVault a month ago 3b0595a
Improve examples for function naming
1 files changed, 4 insertions(+), 4 deletions(-)

M README.md
M README.md => README.md +4 -4
@@ 698,8 698,8 @@ $NAMESPACE_$NOUN_$VERB(...);
For example:

```
example_run(...);
example_foobar_update(...);
void example_run(...);
void example_foobar_update(...);
```

Programmers **SHOULD omit the namespace for static functions.**


@@ 707,8 707,8 @@ Programmers **SHOULD omit the namespace for static functions.**
However, the ordering of noun/verb is more subjective:

```
process_events(...);
foobar_from_foobaz(...);
static void process_events(...);
static struct foobar *foobar_from_foobaz(...);
```

Programmers **MUST use the verbs create and destroy for heap objects:**