[glibmm] Regenerate GIO .defs.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Regenerate GIO .defs.
- Date: Mon, 23 Nov 2015 09:15:29 +0000 (UTC)
commit 19f25259609446cc852d2aac1fbf7f9123e9e5b9
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Nov 20 12:26:53 2015 +0100
Regenerate GIO .defs.
gio/src/gio_enums.defs | 4 +-
gio/src/gio_methods.defs | 98 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 101 insertions(+), 1 deletions(-)
---
diff --git a/gio/src/gio_enums.defs b/gio/src/gio_enums.defs
index b773393..7eab51f 100644
--- a/gio/src/gio_enums.defs
+++ b/gio/src/gio_enums.defs
@@ -461,7 +461,8 @@
;; G_IO_ERROR_PROXY_NOT_ALLOWED,
;; G_IO_ERROR_BROKEN_PIPE,
;; G_IO_ERROR_CONNECTION_CLOSED = G_IO_ERROR_BROKEN_PIPE,
-;; G_IO_ERROR_NOT_CONNECTED
+;; G_IO_ERROR_NOT_CONNECTED,
+;; G_IO_ERROR_MESSAGE_TOO_LARGE,
;; } GIOErrorEnum;
(define-enum-extended IOErrorEnum
@@ -516,6 +517,7 @@
'("broken-pipe" "G_IO_ERROR_BROKEN_PIPE" "44")
'("connection-closed" "G_IO_ERROR_CONNECTION_CLOSED" "44")
'("not-connected" "G_IO_ERROR_NOT_CONNECTED" "45")
+ '("message-too-large" "G_IO_ERROR_MESSAGE_TOO_LARGE" "46")
)
)
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index 9b82084..c60dc22 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")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]