mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-14 22:37:15 +01:00
Add a pointer to G_DEFINE_INTERFACE
This commit is contained in:
parent
ecb45f4382
commit
de6914a46a
@ -770,6 +770,13 @@ struct _GInterfaceInfo
|
||||
};
|
||||
</programlisting>
|
||||
</para>
|
||||
<para>
|
||||
When having no special requirements you also can use the <function>G_DEFINE_INTERFACE</function> macro:
|
||||
<programlisting>
|
||||
G_DEFINE_INTERFACE (MamanBaz, maman_baz, G_TYPE_OBJECT)
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
|
||||
<sect2 id="gtype-non-instantiable-classed-init">
|
||||
<title>Interface Initialization</title>
|
||||
|
Loading…
x
Reference in New Issue
Block a user