mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 21:01:14 +00:00
codegen/codegen.py: newer pygobject's pyg_constant_strip_prefix() now return a const gchar * whereas PyModule_AddIntC...
Original commit message from CVS: * codegen/codegen.py: newer pygobject's pyg_constant_strip_prefix() now return a const gchar * whereas PyModule_AddIntConstant() takes a normal gchar*. Closes #349623
This commit is contained in:
parent
e462546b9a
commit
c070c75beb
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-08-08 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
|
* codegen/codegen.py:
|
||||||
|
newer pygobject's pyg_constant_strip_prefix() now return a const gchar *
|
||||||
|
whereas PyModule_AddIntConstant() takes a normal gchar*.
|
||||||
|
Closes #349623
|
||||||
|
|
||||||
2006-08-05 Andy Wingo <wingo@pobox.com>
|
2006-08-05 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
* examples/synchronizer.py: Actually appears to work now, will
|
* examples/synchronizer.py: Actually appears to work now, will
|
||||||
|
|
|
@ -1341,7 +1341,7 @@ def write_enums(parser, overrides, prefix, fp=sys.stdout):
|
||||||
for nick, value in enum.values:
|
for nick, value in enum.values:
|
||||||
fp.write(
|
fp.write(
|
||||||
' PyModule_AddIntConstant(module, '
|
' PyModule_AddIntConstant(module, '
|
||||||
'pyg_constant_strip_prefix("%s", strip_prefix), %s);\n'
|
'(char *) pyg_constant_strip_prefix("%s", strip_prefix), %s);\n'
|
||||||
% (value, value))
|
% (value, value))
|
||||||
else:
|
else:
|
||||||
if enum.deftype == 'enum':
|
if enum.deftype == 'enum':
|
||||||
|
|
Loading…
Reference in a new issue