summaryrefslogtreecommitdiffstats
path: root/gio/unix.defs
diff options
context:
space:
mode:
Diffstat (limited to 'gio/unix.defs')
-rw-r--r--gio/unix.defs18
1 files changed, 18 insertions, 0 deletions
diff --git a/gio/unix.defs b/gio/unix.defs
index 0aec7b4..2d28841 100644
--- a/gio/unix.defs
+++ b/gio/unix.defs
@@ -266,6 +266,24 @@
+;; From gunixinputstream.h
+
+(define-function unix_input_stream_get_type
+ (c-name "g_unix_input_stream_get_type")
+ (return-type "GType")
+)
+
+(define-function unix_input_stream_new
+ (c-name "g_unix_input_stream_new")
+ (is-constructor-of "GUnixInputStream")
+ (return-type "GInputStream*")
+ (parameters
+ '("int" "fd")
+ '("gboolean" "close_fd_at_close")
+ )
+)
+
+
;; From gunixoutputstream.h
(define-function unix_output_stream_get_type