[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/6] docs/devel/qom: Use *emphasis* for emphasis
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 4/6] docs/devel/qom: Use *emphasis* for emphasis |
Date: |
Sat, 3 Oct 2020 19:55:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 10/3/20 4:54 AM, Eduardo Habkost wrote:
> <emphasis> is not valid reST syntax.
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> docs/devel/qom.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/docs/devel/qom.rst b/docs/devel/qom.rst
> index a47e1b9a239..0c610e20d62 100644
> --- a/docs/devel/qom.rst
> +++ b/docs/devel/qom.rst
> @@ -174,17 +174,17 @@ dynamically cast it to an object that implements the
> interface.
> Methods
> =======
>
> -A <emphasis>method</emphasis> is a function within the namespace scope of
> +A *method* is a function within the namespace scope of
> a class. It usually operates on the object instance by passing it as a
> strongly-typed first argument.
> If it does not operate on an object instance, it is dubbed
> -<emphasis>class method</emphasis>.
> +*class method*.
>
> Methods cannot be overloaded. That is, the #ObjectClass and method name
> uniquely identity the function to be called; the signature does not vary
> except for trailing varargs.
>
> -Methods are always <emphasis>virtual</emphasis>. Overriding a method in
> +Methods are always *virtual*. Overriding a method in
> #TypeInfo.class_init of a subclass leads to any user of the class obtained
> via OBJECT_GET_CLASS() accessing the overridden function.
> The original function is not automatically invoked. It is the responsibility
>
- [PATCH 0/6] qom documentation fixes, Eduardo Habkost, 2020/10/02
- [PATCH 2/6] docs/devel/qom: Fix indentation of bulleted list, Eduardo Habkost, 2020/10/02
- [PATCH 1/6] qom: Fix DECLARE_*CHECKER documentation, Eduardo Habkost, 2020/10/02
- [PATCH 3/6] docs/devel/qom: Fix indentation of code blocks, Eduardo Habkost, 2020/10/02
- [PATCH 4/6] docs/devel/qom: Use *emphasis* for emphasis, Eduardo Habkost, 2020/10/02
- Re: [PATCH 4/6] docs/devel/qom: Use *emphasis* for emphasis,
Philippe Mathieu-Daudé <=
- [PATCH 6/6] docs/devel/qom: Avoid long lines, Eduardo Habkost, 2020/10/02
- [PATCH 5/6] docs/devel/qom: Remove usage of <code>, Eduardo Habkost, 2020/10/02
- Re: [PATCH 0/6] qom documentation fixes, Paolo Bonzini, 2020/10/03