mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +00:00
bindings: Register the various enums/flags in python
This commit is contained in:
parent
a71b46e080
commit
28904476f8
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
void pyges_register_classes (PyObject * d);
|
void pyges_register_classes (PyObject * d);
|
||||||
extern PyMethodDef pyges_functions[];
|
extern PyMethodDef pyges_functions[];
|
||||||
|
void pyges_add_constants (PyObject * module, const gchar * strip_prefix);
|
||||||
DL_EXPORT (void)
|
DL_EXPORT (void)
|
||||||
initges (void);
|
initges (void);
|
||||||
|
|
||||||
|
@ -29,6 +30,7 @@ initges (void)
|
||||||
|
|
||||||
pygst_init ();
|
pygst_init ();
|
||||||
pyges_register_classes (d);
|
pyges_register_classes (d);
|
||||||
|
pyges_add_constants (m, "GES_");
|
||||||
|
|
||||||
/* add anything else to the module dictionary (such as constants) */
|
/* add anything else to the module dictionary (such as constants) */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue