[libgit2-glib] Added brief documentation for branch



commit 7e37bd938d4eed5966a6a2cd72952f2d9f9ab7bb
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Thu Apr 4 19:17:52 2013 +0200

    Added brief documentation for branch

 libgit2-glib/ggit-branch.h |    1 -
 libgit2-glib/ggit-types.h  |    7 +++++++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libgit2-glib/ggit-branch.h b/libgit2-glib/ggit-branch.h
index 30d5247..61c6bf0 100644
--- a/libgit2-glib/ggit-branch.h
+++ b/libgit2-glib/ggit-branch.h
@@ -33,7 +33,6 @@ G_BEGIN_DECLS
 #define GGIT_IS_BRANCH_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GGIT_TYPE_BRANCH))
 #define GGIT_BRANCH_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), GGIT_TYPE_BRANCH, GgitBranchClass))
 
-typedef struct _GgitBranch             GgitBranch;
 typedef struct _GgitBranchClass                GgitBranchClass;
 
 struct _GgitBranch
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
index a081ac0..a015214 100644
--- a/libgit2-glib/ggit-types.h
+++ b/libgit2-glib/ggit-types.h
@@ -33,6 +33,13 @@ G_BEGIN_DECLS
 typedef struct _GgitBlob GgitBlob;
 
 /**
+ * GgitBranch:
+ *
+ * Represents a branch object.
+ */
+typedef struct _GgitBranch GgitBranch;
+
+/**
  * GgitCloneOptions:
  *
  * Represents the options used when cloning.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]