* @attr_list: An IBusAttrList instance.
* @attr: The IBusAttribute instance to be appended.
*
- * Append an IBusAttribute to IBusAttrList.
+ * Append an IBusAttribute to IBusAttrList, and increase reference.
*/
void ibus_attr_list_append (IBusAttrList *attr_list,
IBusAttribute *attr);
* @index: Index of the @attr_list.
* @returns: IBusAttribute at given index, NULL if no such IBusAttribute.
*
- * Returns IBusAttribute at given index.
+ * Returns IBusAttribute at given index. Borrowed reference.
*/
IBusAttribute *ibus_attr_list_get (IBusAttrList *attr_list,
guint index);
* @table: An IBusLookupTable.
* @text: candidate word/phrase to be appended (in IBusText format).
*
- * Append a candidate word/phrase to IBusLookupTable.
+ * Append a candidate word/phrase to IBusLookupTable, and increase reference.
*/
void ibus_lookup_table_append_candidate
(IBusLookupTable *table,
* @index: Index in the Lookup table.
* @returns: IBusText at the given index; NULL if no such IBusText.
*
- * Return IBusText at the given index.
+ * Return IBusText at the given index. Borrowed reference.
*/
IBusText *ibus_lookup_table_get_candidate
(IBusLookupTable *table,
* @table: An IBusLookupTable.
* @text: A candidate label to be appended (in IBusText format).
*
- * Append a candidate word/phrase to IBusLookupTable.
+ * Append a candidate word/phrase to IBusLookupTable, and increase reference.
* This function is needed if the input method select candidate with
* non-numeric keys such as "asdfghjkl;".
*/
* @index: Index in the Lookup table.
* @returns: IBusText at the given index; NULL if no such IBusText.
*
- * Return IBusText at the given index.
+ * Return IBusText at the given index. Borrowed reference.
*/
IBusText *ibus_lookup_table_get_label
(IBusLookupTable *table,
* @prop_list: An IBusPropList.
* @prop: IBusProperty to be append to @prop_list.
*
- * Append an IBusProperty to an IBusPropList.
+ * Append an IBusProperty to an IBusPropList, and increase reference.
*/
void ibus_prop_list_append (IBusPropList *prop_list,
IBusProperty *prop);
* @index: Index of an IBusPropList.
* @returns: IBusProperty at given index, NULL if no such IBusProperty.
*
- * Returns IBusProperty at given index.
+ * Returns IBusProperty at given index. Borrowed reference.
*/
IBusProperty *ibus_prop_list_get (IBusPropList *prop_list,
guint index);