~ubuntu-branches/ubuntu/precise/gst0.10-python/precise

« back to all changes in this revision

Viewing changes to gst/common.h

Tags: upstream-0.10.8
Import upstream version 0.10.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
  typedef destructor freefunc;
36
36
#endif
37
37
 
 
38
#if PY_VERSION_HEX < 0x02050000
 
39
#define lenfunc inquiry
 
40
#define ssizeargfunc intargfunc
 
41
#define ssizessizeargfunc intintargfunc
 
42
#define ssizeobjargproc intobjargproc
 
43
#define ssizessizeobjargproc intintobjargproc
 
44
#endif
 
45
 
38
46
typedef struct {
39
47
        PyGObject *pad;
40
48
        GClosure *link_function;
46
54
        GClosure *activate_function;
47
55
        GClosure *activatepull_function;
48
56
        GClosure *activatepush_function;
 
57
        /* Query is not implemented as a closure to avoid refcounting
 
58
         * making the query immutable and therefore useless */
 
59
        PyObject *query_function;
49
60
} PyGstPadPrivate;
50
61
 
51
62
typedef struct {