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
+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>
* examples/synchronizer.py: Actually appears to work now, will
for nick, value in enum.values:
fp.write(
' PyModule_AddIntConstant(module, '
- 'pyg_constant_strip_prefix("%s", strip_prefix), %s);\n'
+ '(char *) pyg_constant_strip_prefix("%s", strip_prefix), %s);\n'
% (value, value))
else:
if enum.deftype == 'enum':