All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] a QOM Coding Conventions question
Date: Sat, 14 Dec 2013 00:26:07 +0400	[thread overview]
Message-ID: <20131214002607.ffe2f4cc49f976b515ac4c0e@gmail.com> (raw)

Hi, Andreas!

Here is a quote from http://wiki.qemu.org/QOMConventions
    
>     a FooClass structure definition containing at least the parent class field: 
>
>     typedef struct {
>         /*< private >*/
>         MyParentClass parent_class;
>         /*< public >*/
>
>         [any fields you need]
>     } FooClass;

What do the "< private >" and "< public >" comments exactly mean here?

-- 
Best regards,
  Antony Pavlov

             reply	other threads:[~2013-12-13 20:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-13 20:26 Antony Pavlov [this message]
2013-12-14 23:06 ` [Qemu-devel] a QOM Coding Conventions question Peter Crosthwaite
2013-12-14 23:42   ` Peter Maydell
2013-12-14 23:51     ` Peter Crosthwaite
2013-12-15  9:02       ` Pantelis Koukousoulas
2013-12-16 12:48         ` Peter Crosthwaite
2013-12-16 13:26           ` Andreas Färber
2013-12-15 11:17   ` Antony Pavlov
2013-12-16 14:17     ` Andreas Färber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131214002607.ffe2f4cc49f976b515ac4c0e@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=afaerber@suse.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.