[geany/geany] 659b27: api: annotate element types in the TMWorkspace arrays

Thomas Martitz git-noreply at xxxxx
Tue Jun 28 20:52:47 UTC 2016


Branch:      refs/heads/master
Author:      Thomas Martitz <kugel at rockbox.org>
Committer:   Thomas Martitz <kugel at rockbox.org>
Date:        Tue, 28 Jun 2016 20:52:47 UTC
Commit:      659b277ef6861ea1b55e996e62ece24f9134a94b
             https://github.com/geany/geany/commit/659b277ef6861ea1b55e996e62ece24f9134a94b

Log Message:
-----------
api: annotate element types in the TMWorkspace arrays

This allows GI-based plugins to traverse/inspect the array and consequently
Geany loaded tags.


Modified Paths:
--------------
    tagmanager/src/tm_workspace.h

Modified: tagmanager/src/tm_workspace.h
8 lines changed, 4 insertions(+), 4 deletions(-)
===================================================================
@@ -25,10 +25,10 @@ G_BEGIN_DECLS
  **/
 typedef struct TMWorkspace
 {
-	GPtrArray *global_tags; /**< Global tags loaded at startup */
-	GPtrArray *source_files; /**< An array of TMSourceFile pointers */
-	GPtrArray *tags_array; /**< Sorted tags from all source files 
-		(just pointers to source file tags, the tag objects are owned by the source files) */
+	GPtrArray *global_tags; /**< Global tags loaded at startup. @elementtype{TMTag} */
+	GPtrArray *source_files; /**< An array of TMSourceFile pointers. @elementtype{TMSourceFile} */
+	GPtrArray *tags_array; /**< Sorted tags from all source files
+		(just pointers to source file tags, the tag objects are owned by the source files). @elementtype{TMTag} */
 	GPtrArray *typename_array; /* Typename tags for syntax highlighting (pointers owned by source files) */
 	GPtrArray *global_typename_array; /* Like above for global tags */
 } TMWorkspace;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list