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:
parent
b748e6044a
commit
c26f2b387b
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue