[bindings] Replace deprecated allow-none with optional and nullable
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 6 Jan 2015 23:43:14 +0000 (15:43 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 6 Jan 2015 23:43:14 +0000 (15:43 -0800)
src/hb-blob.cc
src/hb-shape.cc
src/hb-unicode.cc

index d8b295e..51ea20d 100644 (file)
@@ -82,8 +82,8 @@ _hb_blob_destroy_user_data (hb_blob_t *blob)
  * @data: (array length=length) (element-type uint8_t) (closure user_data) (destroy destroy) (scope notified) (transfer none): Pointer to blob data.
  * @length: Length of @data in bytes.
  * @mode: Memory mode for @data.
- * @user_data: (allow-none): Data parameter to pass to @destroy.
- * @destroy: (allow-none): Callback to call when @data is not needed anymore.
+ * @user_data: (nullable): Data parameter to pass to @destroy.
+ * @destroy: (nullable): Callback to call when @data is not needed anymore.
  *
  * Creates a new "blob" object wrapping @data.  The @mode parameter is used
  * to negotiate ownership and lifecycle of @data.
index 100fb3c..9a59c08 100644 (file)
@@ -200,7 +200,7 @@ parse_one_feature (const char **pp, const char *end, hb_feature_t *feature)
  * hb_feature_from_string:
  * @str: (array length=len):
  * @len: 
- * @feature: (out) (allow-none):
+ * @feature: (out) (optional):
  *
  * 
  *
index d59dfb2..fc19006 100644 (file)
@@ -157,7 +157,7 @@ hb_unicode_funcs_get_default (void)
 
 /**
  * hb_unicode_funcs_create: (Xconstructor)
- * @parent: (allow-none):
+ * @parent: (nullable):
  *
  * 
  *