[Qemu-devel] [RFC PATCH v2 01/15] qapi: Belatedly update docs for commit 9c2f56e9f9d

Markus Armbruster posted 15 patches 6 years, 10 months ago
There is a newer version of this series
[Qemu-devel] [RFC PATCH v2 01/15] qapi: Belatedly update docs for commit 9c2f56e9f9d
Posted by Markus Armbruster 6 years, 10 months ago
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 docs/devel/qapi-code-gen.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/devel/qapi-code-gen.txt b/docs/devel/qapi-code-gen.txt
index 43bd853e69..418a607842 100644
--- a/docs/devel/qapi-code-gen.txt
+++ b/docs/devel/qapi-code-gen.txt
@@ -1369,8 +1369,8 @@ Example:
     void qapi_event_send_my_event(void);
 
     typedef enum example_QAPIEvent {
-        EXAMPLE_QAPI_EVENT_MY_EVENT = 0,
-        EXAMPLE_QAPI_EVENT__MAX = 1,
+        EXAMPLE_QAPI_EVENT_MY_EVENT,
+        EXAMPLE_QAPI_EVENT__MAX,
     } example_QAPIEvent;
 
     #define example_QAPIEvent_str(val) \
-- 
2.17.2


Re: [Qemu-devel] [RFC PATCH v2 01/15] qapi: Belatedly update docs for commit 9c2f56e9f9d
Posted by Marc-André Lureau 6 years, 10 months ago
On Tue, Dec 18, 2018 at 10:22 PM Markus Armbruster <armbru@redhat.com> wrote:
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>

> ---
>  docs/devel/qapi-code-gen.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/docs/devel/qapi-code-gen.txt b/docs/devel/qapi-code-gen.txt
> index 43bd853e69..418a607842 100644
> --- a/docs/devel/qapi-code-gen.txt
> +++ b/docs/devel/qapi-code-gen.txt
> @@ -1369,8 +1369,8 @@ Example:
>      void qapi_event_send_my_event(void);
>
>      typedef enum example_QAPIEvent {
> -        EXAMPLE_QAPI_EVENT_MY_EVENT = 0,
> -        EXAMPLE_QAPI_EVENT__MAX = 1,
> +        EXAMPLE_QAPI_EVENT_MY_EVENT,
> +        EXAMPLE_QAPI_EVENT__MAX,
>      } example_QAPIEvent;
>
>      #define example_QAPIEvent_str(val) \
> --
> 2.17.2
>