summaryrefslogtreecommitdiff
path: root/gst/common.h
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2005-06-26 12:35:07 +0000
committerEdward Hervey <bilboed@bilboed.com>2005-06-26 12:35:07 +0000
commit038f11fafb3a0c72ec4e10248a774fd5375c5c21 (patch)
tree4254223a0e5637619ba27ef3fef8c07deccf7655 /gst/common.h
parent78143798a75a2a5185335a2239ba0b2570c9d4e5 (diff)
codegen/: Updated codegen to support miniobject
Original commit message from CVS: * codegen/argtypes.py: * codegen/codegen.py: * codegen/definitions.py: * codegen/defsparser.py: * codegen/docgen.py: Updated codegen to support miniobject * gst/Makefile.am: Use the included (and modified) codegen for code generation. * gst/pygstminiobject.c: * gst/pygstminiobject.h: * gst/pygstminiobject-private.h: New GstMiniObject inspired from pygobject.[ch] code * gst/common.h: * gst/gst-types.defs: * gst/gst.override: * gst/gstbuffer.override: * gst/gstcaps.override: * gst/gstmodule.c: * gst/gstpad.override: Modifications to support MiniObject * gst/gst.defs: Allow null second parameter for ElementFactory.create() and gst.element_factory_make()
Diffstat (limited to 'gst/common.h')
-rw-r--r--gst/common.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/gst/common.h b/gst/common.h
index 83f1ed6..a123fa2 100644
--- a/gst/common.h
+++ b/gst/common.h
@@ -23,21 +23,24 @@
#define __COMMON_H__
#include <Python.h>
+#include <glib.h>
+#include <glib-object.h>
#include <gst/gst.h>
#include "pygobject.h"
+#include "pygstminiobject.h"
#if (defined HAVE_OLD_PYGTK && (PY_VERSION_HEX < 0x02030000))
typedef destructor freefunc;
#endif
typedef struct {
- PyGObject *pad;
- GClosure *link_function;
- GClosure *event_function;
- GClosure *chain_function;
- GClosure *get_function;
- GClosure *getcaps_function;
+ PyGObject *pad;
+ GClosure *link_function;
+ GClosure *event_function;
+ GClosure *chain_function;
+ GClosure *get_function;
+ GClosure *getcaps_function;
} PyGstPadPrivate;
typedef struct {