summaryrefslogtreecommitdiff
path: root/src/libical-glib
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2019-05-15 11:15:41 +0200
committerAllen Winter <allen.winter@kdab.com>2019-05-15 17:59:46 -0400
commit250d167bb613af76fb1357ccc9aecf221daa9e2f (patch)
tree7e60469d73304643598692969c47074028cca3a4 /src/libical-glib
parent16e6583d2684e12b22f3df182815606a45e0ebf8 (diff)
downloadlibical-git-250d167bb613af76fb1357ccc9aecf221daa9e2f.tar.gz
Change the icalarray wrapper and update the array.py test
The libical's icalarray is not suitable for introspection much, because it operates on bare structures, thus rather not allow to add/get raw objects to/from it and let it be used for the timezone arrays only. The test itself could fail under libasan or a memory issue could be reported when it had been run under valgrind.
Diffstat (limited to 'src/libical-glib')
-rw-r--r--src/libical-glib/api/i-cal-array.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libical-glib/api/i-cal-array.xml b/src/libical-glib/api/i-cal-array.xml
index dccb83a6..c10c533f 100644
--- a/src/libical-glib/api/i-cal-array.xml
+++ b/src/libical-glib/api/i-cal-array.xml
@@ -26,12 +26,12 @@
native = NULL;
return ret;</custom>
</method>
- <method name="i_cal_array_new" corresponds="icalarray_new" kind="constructor" since="1.0">
+ <!-- <method name="i_cal_array_new" corresponds="icalarray_new" kind="constructor" since="1.0">
<parameter type="gint" name="element_size" comment="The size of the element of the array"/>
<parameter type="gint" name="increment_size" comment="The incremental size when the array is full"/>
<returns type="ICalArray *" annotation="transfer full" translator_argus="NULL, FALSE" comment="The newly create #ICalArray with the properties set by @element_size and @increment_size"/>
<comment xml:space="preserve">Create a #ICalArray with the element size to be @element_size and increment size to be @increment_size</comment>
- </method>
+ </method> -->
<method name="i_cal_array_copy" corresponds="icalarray_copy" kind="clone" since="1.0">
<parameter type="ICalArray *" name="array" annotation="in" comment="The #ICalArray to be cloned."/>
<returns type="ICalArray *" annotation="transfer full" translator_argus="NULL, FALSE" comment="The newly cloned #ICalArray with the same value as the @array"/>
@@ -41,17 +41,17 @@
<parameter type="ICalArray *" name="array" comment="The #ICalArray to be freed."/>
<comment xml:space="preserve">Free the #ICalArray</comment>
</method>
- <method name="i_cal_array_append" corresponds="icalarray_append" kind="others" since="1.0">
+ <!-- <method name="i_cal_array_append" corresponds="icalarray_append" kind="others" since="1.0">
<parameter type="ICalArray *" name="array" comment="The #ICalArray to be appended."/>
<parameter type="GObject *" name="element" comment="The element to be appended to the #ICalArray. The reason why to use GOjbect * instead of gpointer is that the variable of type gpointer can only be assigned with none, integer or capsule type. The support for other types would be added in the future."/>
<comment xml:space="preserve">Append @element to the end of the array</comment>
- </method>
+ </method> -->
<method name="i_cal_array_remove_element_at" corresponds="icalarray_remove_element_at" kind="others" since="1.0">
<parameter type="ICalArray *" name="array" comment="The #ICalArray to be modified."/>
<parameter type="gint" name="position" comment="The position in which the element will be removed from the array"/>
<comment xml:space="preserve">Remove the element at the @position from the array</comment>
</method>
- <method name="i_cal_array_element_at" corresponds="icalarray_element_at" kind="others" since="1.0">
+ <method name="i_cal_array_element_at" corresponds="icalarray_element_at" annotation="skip" kind="private" since="1.0">
<parameter type="ICalArray *" name="array" comment="The #ICalArray to be queried."/>
<parameter type="gint" name="position" comment="The position the target element is located"/>
<returns type="GObject *" annotation="transfer none, allow-none" comment="The element located at the @position in the @array"/>