Re: [PATCH for-6.2 09/10] docs: qom: Remove OBJECT_CHECK macro examples

2021-08-02 Thread Peter Maydell
On Thu, 29 Jul 2021 at 19:05, Eduardo Habkost wrote: > > We shouldn't encourage people to keep defining typecast macros > manually, when we have the OBJECT_DECLARE* macros. Remove the > section showing how to define them, and replace with a section > explaining how typecasting works. > > Signed-o

[PATCH for-6.2 09/10] docs: qom: Remove OBJECT_CHECK macro examples

2021-07-29 Thread Eduardo Habkost
We shouldn't encourage people to keep defining typecast macros manually, when we have the OBJECT_DECLARE* macros. Remove the section showing how to define them, and replace with a section explaining how typecasting works. Signed-off-by: Eduardo Habkost --- docs/devel/qom.rst | 46 ++