fix macro expansion issue reported by Andreas Held

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-13 08:56:55 +00:00
commit c26f2b387b

View file

@ -82,8 +82,9 @@ int test_func_ptr(Foo *f, int a) {
%}
#ifdef __cplusplus
%define MACRO_WINDOW_SHOW
void show(PyObject *count = 0, PyObject *data = 0)
void show(void *count = 0, void *data = 0)
{
return;
}
@ -101,3 +102,4 @@ void show(PyObject *count = 0, PyObject *data = 0)
MACRO_WINDOW_SHOW
}
#endif