Fixed PyGetSetDescr for python3.2.
Fixed memory management in special_variable_macros test. Don't define asdict() for multimap. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cba65bd524
commit
a52612f845
7 changed files with 53 additions and 19 deletions
|
|
@ -325,7 +325,16 @@ SWIG_init(void) {
|
|||
PyObject *m, *d, *md;
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
static struct PyModuleDef SWIG_module = {
|
||||
# if PY_VERSION_HEX >= 0x03020000
|
||||
PyModuleDef_HEAD_INIT,
|
||||
# else
|
||||
{
|
||||
PyObject_HEAD_INIT(NULL)
|
||||
NULL, /* m_init */
|
||||
0, /* m_index */
|
||||
NULL, /* m_copy */
|
||||
},
|
||||
# endif
|
||||
(char *) SWIG_name,
|
||||
NULL,
|
||||
-1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue