summaryrefslogtreecommitdiff
path: root/pango/pango-ot-info.c
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2014-05-30 19:21:11 -0700
committerEvan Nemerson <evan@nemerson.com>2014-10-16 13:09:34 -0700
commitfa6ded9b0d065634481d8ae4126fdea0b88e3558 (patch)
tree151efb6762bf467ada2ac104770fdefd293b7248 /pango/pango-ot-info.c
parentadb5a4e86b09b0935ec1dd71bf05ac41807c84a2 (diff)
downloadpango-fa6ded9b0d065634481d8ae4126fdea0b88e3558.tar.gz
Add many missing nullability annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=731022
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r--pango/pango-ot-info.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index d494d7f4..28f5dbc9 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -123,7 +123,8 @@ get_hb_table_type (PangoOTTableType table_type)
* @info: a #PangoOTInfo.
* @table_type: the table type to obtain information about.
* @script_tag: the tag of the script to find.
- * @script_index: location to store the index of the script, or %NULL.
+ * @script_index: (out) (optional): location to store the index of the
+ * script, or %NULL.
*
* Finds the index of a script. If not found, tries to find the 'DFLT'
* and then 'dflt' scripts and return the index of that in @script_index.
@@ -156,9 +157,10 @@ pango_ot_info_find_script (PangoOTInfo *info,
* @table_type: the table type to obtain information about.
* @script_index: the index of the script whose languages are searched.
* @language_tag: the tag of the language to find.
- * @language_index: location to store the index of the language, or %NULL.
- * @required_feature_index: location to store the required feature index of
- * the language, or %NULL.
+ * @language_index: (out) (optional): location to store the index of
+ * the language, or %NULL.
+ * @required_feature_index: (out) (optional): location to store the
+ * required feature index of the language, or %NULL.
*
* Finds the index of a language and its required feature index.
* If the language is not found, sets @language_index to
@@ -205,7 +207,8 @@ pango_ot_info_find_language (PangoOTInfo *info,
* @script_index: the index of the script.
* @language_index: the index of the language whose features are searched,
* or %PANGO_OT_DEFAULT_LANGUAGE to use the default language of the script.
- * @feature_index: location to store the index of the feature, or %NULL.
+ * @feature_index: (out) (optional): location to store the index of
+ * the feature, or %NULL.
*
* Finds the index of a feature. If the feature is not found, sets
* @feature_index to PANGO_OT_NO_FEATURE, which is safe to pass to