---
generator/generator_gobject.ml | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/generator/generator_gobject.ml b/generator/generator_gobject.ml
index ec3f652..52a9a0c 100644
--- a/generator/generator_gobject.ml
+++ b/generator/generator_gobject.ml
@@ -139,16 +139,27 @@ G_BEGIN_DECLS
GUESTFS_TYPE_SESSION, \
GuestfsSessionClass))
-typedef struct _GuestfsSession GuestfsSession;
-typedef struct _GuestfsSessionClass GuestfsSessionClass;
typedef struct _GuestfsSessionPrivate GuestfsSessionPrivate;
+/**
+ * GuestfsSession:
+ *
+ * A libguestfs session, encapsulating a single libguestfs handle.
+ */
+typedef struct _GuestfsSession GuestfsSession;
struct _GuestfsSession
{
GObject parent;
GuestfsSessionPrivate *priv;
};
+/**
+ * GuestfsSessionClass:
+ * @parent_class: The superclass of GuestfsSession
+ *
+ * A class metadata object for GuestfsSession.
+ */
+typedef struct _GuestfsSessionClass GuestfsSessionClass;
struct _GuestfsSessionClass
{
GObjectClass parent_class;
--
1.7.7.6