diff options
author | Johan Dahlin <johan@gnome.org> | 2008-01-19 19:54:46 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-01-19 19:54:46 +0000 |
commit | ab1ac2f37f6ae5b195ebfb20b1895e841d59e2d7 (patch) | |
tree | 1e98c8c05b41db6afb71e059330b74cf0d800391 /gio/unix.defs | |
parent | 8c1524ece22446d75b9f41e34b8281179dab1bee (diff) | |
download | pygobject-ab1ac2f37f6ae5b195ebfb20b1895e841d59e2d7.tar.gz pygobject-ab1ac2f37f6ae5b195ebfb20b1895e841d59e2d7.tar.xz pygobject-ab1ac2f37f6ae5b195ebfb20b1895e841d59e2d7.zip |
Impl.
2008-01-19 Johan Dahlin <johan@gnome.org>
* gio/gio.override (_wrap_g_output_stream_write): Impl.
* gio/gio.override:
* gio/unix.defs:
Add GUnixInputStream type and methods
* tests/common.py:
* tests/test_gio.py:
Add GIO tests.
svn path=/trunk/; revision=737
Diffstat (limited to 'gio/unix.defs')
-rw-r--r-- | gio/unix.defs | 18 |
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 |