/pidgin/main: 11138a33d498: Add GIntrospection Annotations to Tr...

Jorge Villase?or salinasv at pidgin.im
Sat Dec 5 21:21:22 EST 2015


Changeset: 11138a33d498cda5ae5b650851ec69f688e9bf50
Author:	 Jorge Villase?or <salinasv at pidgin.im>
Date:	 2015-11-30 20:55 -0800
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/11138a33d498

Description:

Add GIntrospection Annotations to Trie documentation

diffstat:

 libpurple/trie.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (45 lines):

diff --git a/libpurple/trie.h b/libpurple/trie.h
--- a/libpurple/trie.h
+++ b/libpurple/trie.h
@@ -229,7 +229,7 @@ purple_trie_get_size(PurpleTrie *trie);
  * purple_trie_replace:
  * @trie: the trie.
  * @src: the source string.
- * @replace_cb: the replacement function.
+ * @replace_cb: (scope call): the replacement function.
  * @user_data: custom data to be passed to @replace_cb.
  *
  * Processes @src string and replaces all occuriences of words added to @trie.
@@ -244,9 +244,9 @@ purple_trie_replace(PurpleTrie *trie, co
 
 /**
  * purple_trie_multi_replace:
- * @tries: the list of tries.
+ * @tries: (element-type PurpleTrie): the list of tries.
  * @src: the source string.
- * @replace_cb: the replacement function.
+ * @replace_cb: (scope call): the replacement function.
  * @user_data: custom data to be passed to @replace_cb.
  *
  * Processes @src and replaces all occuriences of words added to tries in list
@@ -266,7 +266,7 @@ purple_trie_multi_replace(const GSList *
  * purple_trie_find:
  * @trie: the trie.
  * @src: the source string.
- * @find_cb: the callback for the found entries (may be %NULL).
+ * @find_cb: (nullable) (scope call): the callback for the found entries (may be %NULL).
  * @user_data: custom data to be passed to @find_cb.
  *
  * Processes @src string and finds all occuriences of words added to @trie.
@@ -283,9 +283,9 @@ purple_trie_find(PurpleTrie *trie, const
 
 /**
  * purple_trie_multi_find:
- * @tries: the list of tries.
+ * @tries: (element-type PurpleTrie): the list of tries.
  * @src: the source string.
- * @find_cb: the callback for the found entries (may be %NULL).
+ * @find_cb: (nullable) (scope call): the callback for the found entries (may be %NULL).
  * @user_data: custom data to be passed to @find_cb.
  *
  * Processes @src and replaces all occuriences of words added to tries in



More information about the Commits mailing list