From c6b9e84f2f7f8c85939a8e5ff5d8a5aa067cecf3 Mon Sep 17 00:00:00 2001 From: Jinkun Jang Date: Wed, 13 Mar 2013 02:21:24 +0900 Subject: Tizen 2.1 base --- gio/unix.override | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 gio/unix.override (limited to 'gio/unix.override') 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 +#include +#include +#include +#include +#include +#define GIO_COMPILATION +#include +#undef GIO_COMPILATION +#include +#include + +#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 +%% -- cgit v1.2.3