VC++ grrhhh
Robin Becker
robin at jessikat.demon.co.uk
Thu Sep 23 10:17:18 EDT 1999
anyone know how to get round nonconstant initialiser errors from VC++
with the construction
statichere PyTypeObject Arraytype = {
PyObject_HEAD_INIT(&PyType_Type) // error here
0,
"array",
when trying to compile as a separate module. Certainly PyType_Type is
defined in another dll, but it's just an extern right or has M$ started
fiddling with C semantics again? I have tried declaring as an import,
but that doesn't work either.
--
Robin Becker
More information about the Python-list
mailing list