mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
docs/devel/qapi-code-gen: Belatedly document feature naming rules
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20220510061645.3209195-3-armbru@redhat.com>
This commit is contained in:
parent
9e191d3368
commit
1524559f58
@ -739,10 +739,11 @@ Type names ending with ``Kind`` or ``List`` are reserved for the
|
||||
generator, which uses them for implicit union enums and array types,
|
||||
respectively.
|
||||
|
||||
Command names, and member names within a type, should be all lower
|
||||
case with words separated by a hyphen. However, some existing older
|
||||
commands and complex types use underscore; when extending them,
|
||||
consistency is preferred over blindly avoiding underscore.
|
||||
Command names, member names within a type, and feature names should be
|
||||
all lower case with words separated by a hyphen. However, some
|
||||
existing older commands and complex types use underscore; when
|
||||
extending them, consistency is preferred over blindly avoiding
|
||||
underscore.
|
||||
|
||||
Event names should be ALL_CAPS with words separated by underscore.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user