Error in documentation?
- From: Sarah Hyder <hyder sarah gmail com>
- To: gnome-web-list gnome org
- Subject: Error in documentation?
- Date: Tue, 3 Jul 2012 12:02:33 +0500
Hello,
I'd like to report an error in the GObject Reference Manual. I don't know if this is correct as I am a newbie but I think the sample code does not show what the description is specifying. Please tell me if I'm wrong because this is confusing me.
Thank you.
In the section Instantiable classed types: objects on line
Every object must define two structures: its class structure and its instance structure. All class structures must contain as first member a GTypeClass structure. All instance structures must contain as first member a GTypeInstance structure. The declaration of these C types, coming from gtype.h
is shown below:
struct _GTypeClass
{
GType g_type;
};
struct _GTypeInstance
{
GTypeClass *g_class;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]