From 085d4291a9f253a4b8e2eec8003ac11d02a9394f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 12 Sep 2013 17:14:33 -0400 Subject: [PATCH] [introspection] Disable constructors for now Since our types are not associated with their methods, marking constructors makes them inaccessible from bindings. Undo for now. --- src/hb-blob.cc | 2 +- src/hb-buffer.cc | 2 +- src/hb-face.cc | 2 +- src/hb-font.cc | 4 ++-- src/hb-set.cc | 2 +- src/hb-shape-plan.cc | 2 +- src/hb-unicode.cc | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/hb-blob.cc b/src/hb-blob.cc index 5c53016b..5f58429c 100644 --- a/src/hb-blob.cc +++ b/src/hb-blob.cc @@ -77,7 +77,7 @@ _hb_blob_destroy_user_data (hb_blob_t *blob) } /** - * hb_blob_create: (constructor) + * hb_blob_create: (Xconstructor) * @data: (array length=length): Pointer to blob data. * @length: Length of @data in bytes. * @mode: Memory mode for @data. diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index 8143a1ef..54626db2 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc @@ -604,7 +604,7 @@ void hb_buffer_t::deallocate_var_all (void) /* Public API */ /** - * hb_buffer_create: (constructor) + * hb_buffer_create: (Xconstructor) * * * diff --git a/src/hb-face.cc b/src/hb-face.cc index 10f4302a..2713226b 100644 --- a/src/hb-face.cc +++ b/src/hb-face.cc @@ -150,7 +150,7 @@ _hb_face_for_data_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void } /** - * hb_face_create: (constructor) + * hb_face_create: (Xconstructor) * @blob: * @index: * diff --git a/src/hb-font.cc b/src/hb-font.cc index f02afa2e..42e0ceee 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -231,7 +231,7 @@ static const hb_font_funcs_t _hb_font_funcs_nil = { /** - * hb_font_funcs_create: (constructor) + * hb_font_funcs_create: (Xconstructor) * * * @@ -839,7 +839,7 @@ hb_font_glyph_from_string (hb_font_t *font, */ /** - * hb_font_create: (constructor) + * hb_font_create: (Xconstructor) * @face: a face. * * diff --git a/src/hb-set.cc b/src/hb-set.cc index 161924e0..59a0af46 100644 --- a/src/hb-set.cc +++ b/src/hb-set.cc @@ -31,7 +31,7 @@ /** - * hb_set_create: (constructor) + * hb_set_create: (Xconstructor) * * Return value: (transfer full): * diff --git a/src/hb-shape-plan.cc b/src/hb-shape-plan.cc index 4e734d70..b44a9e2a 100644 --- a/src/hb-shape-plan.cc +++ b/src/hb-shape-plan.cc @@ -84,7 +84,7 @@ hb_shape_plan_plan (hb_shape_plan_t *shape_plan, */ /** - * hb_shape_plan_create: (constructor) + * hb_shape_plan_create: (Xconstructor) * @face: * @props: * @user_features: (array length=num_user_features): diff --git a/src/hb-unicode.cc b/src/hb-unicode.cc index 807d5c1f..5b44913b 100644 --- a/src/hb-unicode.cc +++ b/src/hb-unicode.cc @@ -151,7 +151,7 @@ hb_unicode_funcs_get_default (void) #endif /** - * hb_unicode_funcs_create: (constructor) + * hb_unicode_funcs_create: (Xconstructor) * @parent: (allow-none): * * -- GitLab