From 9237a997cb747f4b6f2861d4a86db2809b0e3d7d Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Tue, 7 Jun 2011 03:37:50 +0200 Subject: [PATCH] pyges: Add ges.override --- bindings/python/ges.override | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 bindings/python/ges.override diff --git a/bindings/python/ges.override b/bindings/python/ges.override new file mode 100644 index 0000000000..16efcc4783 --- /dev/null +++ b/bindings/python/ges.override @@ -0,0 +1,24 @@ +/* -*- Mode: C; c-basic-offset: 4 -*- */ +%% +headers +#define NO_IMPORT_PYGOBJECT +#include + +#include +#include + +#include +#include + + +#ifdef HAVE_CONFIG_H +# include +#endif + +/* Boonky define that allows for backwards compatibility with Python 2.4 */ +#if PY_VERSION_HEX < 0x02050000 +#define Py_ssize_t int +#endif + +%% +import gobject.GObject as PyGObject_Type