diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 02:21:24 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 02:21:24 +0900 |
commit | c6b9e84f2f7f8c85939a8e5ff5d8a5aa067cecf3 (patch) | |
tree | 1436172370a45714687122f914354ad167a2f528 /gio/unix.override | |
parent | f7d643cbb2184346b6f8d26091eb7eb38c6bbfe1 (diff) | |
download | pygobject2-c6b9e84f2f7f8c85939a8e5ff5d8a5aa067cecf3.tar.gz pygobject2-c6b9e84f2f7f8c85939a8e5ff5d8a5aa067cecf3.tar.bz2 pygobject2-c6b9e84f2f7f8c85939a8e5ff5d8a5aa067cecf3.zip |
Tizen 2.1 basesubmit/tizen_2.1/20130425.060530submit/tizen_2.1/20130424.235900submit/tizen/20130517.051955accepted/tizen_2.1/20130425.021253accepted/tizen/20130520.1018302.1b_releasetizen_2.1
Diffstat (limited to 'gio/unix.override')
-rw-r--r-- | gio/unix.override | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/gio/unix.override b/gio/unix.override new file mode 100644 index 0000000..aebc6fc --- /dev/null +++ b/gio/unix.override @@ -0,0 +1,62 @@ +/* -*- Mode: C; c-basic-offset: 4 -*- + * pygobject - Python bindings for GObject + * Copyright (C) 2008 Johan Dahlin + * + * unixmodule.c: module wrapping the GIO UNIX library + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + */ +%% +headers +#define NO_IMPORT_PYGOBJECT +#include <pygobject.h> +#include <gio/gio.h> +#include <gio/gdesktopappinfo.h> +#include <gio/gunixinputstream.h> +#include <gio/gunixmounts.h> +#include <gio/gunixoutputstream.h> +#define GIO_COMPILATION +#include <gio/gunixconnection.h> +#undef GIO_COMPILATION +#include <gio/gunixfdmessage.h> +#include <gio/gunixsocketaddress.h> + +#define GIO_UNIX_MOUNT_ENTRY_TYPE (_gio_unix_mount_entry_get_type ()) + +static GType _gio_unix_mount_entry_get_type (void) +{ + static GType our_type = 0; + + if (our_type == 0) + our_type = g_pointer_type_register_static ("GUnixMountEntry"); + + return our_type; +} + +%% +modulename gio.unix +%% +import gobject.GObject as PyGObject_Type +import gio.InputStream as PyGInputStream_Type +import gio.OutputStream as PyGOutputStream_Type +import gio.SocketAddress as PyGSocketAddress_Type +import gio.Cancellable as PyGCancellable_Type +import gio.SocketConnection as PyGSocketConnection_Type +import gio.SocketControlMessage as PyGSocketControlMessage_Type +%% +ignore-glob + *_get_type +%% |