All pastes #106737 Raw Edit

James Livingston

public text v1 · immutable
#106737 ·published 2006-07-30 14:56 UTC
rendered paste body
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*")
+)
+