How to use python to receive Gobject.pointer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to use python to receive Gobject.pointer

Stephenwei
Hi,
I write a gstreamer plugin and g_signal_emit had send a struct.

when I try to use python to receive callback function. I don't know how to
receive a struct?

typedef struct{
    int a;
    int arr[32][4];
}draw;

ps : if send a int or float variable , callback function can print it
directly.

Thanks,
Stephen



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel