summaryrefslogtreecommitdiff
path: root/gio/src/gio_methods.defs
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-11-20 12:26:53 +0100
committerMurray Cumming <murrayc@murrayc.com>2015-11-23 10:06:34 +0100
commit19f25259609446cc852d2aac1fbf7f9123e9e5b9 (patch)
tree1850a6226ec82a1db11e1c2ce8e1ed859e3568c7 /gio/src/gio_methods.defs
parent53a70ee037ac16c4d450049ce4217cf6af175933 (diff)
downloadglibmm-19f25259609446cc852d2aac1fbf7f9123e9e5b9.tar.gz
Regenerate GIO .defs.
Diffstat (limited to 'gio/src/gio_methods.defs')
-rw-r--r--gio/src/gio_methods.defs98
1 files changed, 98 insertions, 0 deletions
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index 9b820847..c60dc220 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -1078,6 +1078,7 @@
'("broken-pipe" "G_IO_ERROR_BROKEN_PIPE")
'("connection-closed" "G_IO_ERROR_CONNECTION_CLOSED")
'("not-connected" "G_IO_ERROR_NOT_CONNECTED")
+ '("message-too-large" "G_IO_ERROR_MESSAGE_TOO_LARGE")
)
)
@@ -3631,6 +3632,74 @@
+;; From gdatagrambased.h
+
+(define-function g_datagram_based_get_type
+ (c-name "g_datagram_based_get_type")
+ (return-type "GType")
+)
+
+(define-method receive_messages
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_receive_messages")
+ (return-type "gint")
+ (parameters
+ '("GInputMessage*" "messages")
+ '("guint" "num_messages")
+ '("gint" "flags")
+ '("gint64" "timeout")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method send_messages
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_send_messages")
+ (return-type "gint")
+ (parameters
+ '("GOutputMessage*" "messages")
+ '("guint" "num_messages")
+ '("gint" "flags")
+ '("gint64" "timeout")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method create_source
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_create_source")
+ (return-type "GSource*")
+ (parameters
+ '("GIOCondition" "condition")
+ '("GCancellable*" "cancellable")
+ )
+)
+
+(define-method condition_check
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_condition_check")
+ (return-type "GIOCondition")
+ (parameters
+ '("GIOCondition" "condition")
+ )
+)
+
+(define-method condition_wait
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_condition_wait")
+ (return-type "gboolean")
+ (parameters
+ '("GIOCondition" "condition")
+ '("gint64" "timeout")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+
+
;; From gdatainputstream.h
(define-function g_data_input_stream_get_type
@@ -10988,6 +11057,16 @@
)
)
+(define-method sort
+ (of-object "GListStore")
+ (c-name "g_list_store_sort")
+ (return-type "none")
+ (parameters
+ '("GCompareDataFunc" "compare_func")
+ '("gpointer" "user_data")
+ )
+)
+
(define-method append
(of-object "GListStore")
(c-name "g_list_store_append")
@@ -15556,6 +15635,12 @@
(return-type "GSocketAddressEnumerator*")
)
+(define-method to_string
+ (of-object "GSocketConnectable")
+ (c-name "g_socket_connectable_to_string")
+ (return-type "gchar*")
+)
+
;; From gsocketconnection.h
@@ -16094,6 +16179,19 @@
)
)
+(define-method receive_messages
+ (of-object "GSocket")
+ (c-name "g_socket_receive_messages")
+ (return-type "gint")
+ (parameters
+ '("GInputMessage*" "messages")
+ '("guint" "num_messages")
+ '("gint" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
(define-method send_messages
(of-object "GSocket")
(c-name "g_socket_send_messages")