Index: tinymail.defs.extra =================================================================== --- tinymail.defs.extra (revision 660) +++ tinymail.defs.extra (working copy) @@ -76,3 +76,58 @@ ) ) +(define-virtual length_func + (of-object "TnyListIface") + (c-name "tny_list_iface_length") + (return-type "guint") +) + +(define-virtual prepend_func + (of-object "TnyListIface") + (c-name "tny_list_iface_prepend") + (return-type "none") + (parameters + '("gpointer" "item") + ) +) + +(define-virtual append_func + (of-object "TnyListIface") + (c-name "tny_list_iface_append") + (return-type "none") + (parameters + '("gpointer" "item") + ) +) + +(define-virtual remove_func + (of-object "TnyListIface") + (c-name "tny_list_iface_remove") + (return-type "none") + (parameters + '("gpointer" "item") + ) +) + +(define-virtual foreach_func + (of-object "TnyListIface") + (c-name "tny_list_iface_foreach") + (return-type "none") + (parameters + '("GFunc" "func") + '("gpointer" "user_data") + ) +) + +(define-virtual create_iterator_func + (of-object "TnyListIface") + (c-name "tny_list_iface_create_iterator") + (return-type "TnyIteratorIface*") +) + +(define-virtual copy_func + (of-object "TnyListIface") + (c-name "tny_list_iface_copy") + (return-type "TnyListIface*") +) +