| Index: site/dev/contrib/style.md
|
| diff --git a/site/dev/contrib/style.md b/site/dev/contrib/style.md
|
| index e952ed1b68b93a04f8552548aa051a583ef841c1..177a58b8d4e67c02ef3199cf98ecd8902c1c30f5 100644
|
| --- a/site/dev/contrib/style.md
|
| +++ b/site/dev/contrib/style.md
|
| @@ -78,10 +78,19 @@ int herdCats(const Array& cats) {
|
| }
|
| ~~~~
|
|
|
| -Enum values are prefixed with k and have post fix that consists of an underscore
|
| -and singular name of the enum name. The enum itself should be singular for
|
| -exclusive values or plural for a bitfield. If a count is needed it is
|
| -k<singular enum name>Count and not be a member of the enum (see example):
|
| +Enum values are prefixed with k. Unscoped enum values are post fixed with
|
| +an underscore and singular name of the enum name. The enum itself should be
|
| +singular for exclusive values or plural for a bitfield. If a count is needed it
|
| +is k<singular enum name>Count and not be a member of the enum (see example):
|
| +
|
| +<!--?prettify?-->
|
| +~~~~
|
| +enum class SkPancakeType {
|
| + kBlueberry,
|
| + kPlain,
|
| + kChocolateChip,
|
| +};
|
| +~~~~
|
|
|
| <!--?prettify?-->
|
| ~~~~
|
|
|