[gnome-builder/wip/libide] libide: add transfer annotation



commit 675fcf7dda3f9a6fc2ea26c40e1a193aa4b0f114
Author: Christian Hergert <christian hergert me>
Date:   Thu Mar 12 16:52:59 2015 -0700

    libide: add transfer annotation

 libide/ide-diagnostic.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-diagnostic.c b/libide/ide-diagnostic.c
index b09803b..707ecdd 100644
--- a/libide/ide-diagnostic.c
+++ b/libide/ide-diagnostic.c
@@ -136,6 +136,14 @@ ide_diagnostic_get_range (IdeDiagnostic *self,
   return NULL;
 }
 
+/**
+ * ide_diagnostic_get_location:
+ * @self: An #IdeDiagnostic.
+ *
+ * Gets the location of a diagnostic.
+ *
+ * Returns: (transfer none): Gets the location of a diagnostic.
+ */
 IdeSourceLocation *
 ide_diagnostic_get_location (IdeDiagnostic *self)
 {


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