fix handling of function pointers by %constant directive
This commit is contained in:
parent
ba333729c3
commit
174523aa80
6 changed files with 69 additions and 23 deletions
|
|
@ -79,10 +79,12 @@
|
|||
|
||||
/* Consttab, needed for callbacks, it should be removed later */
|
||||
|
||||
%typemap(consttab) SWIGTYPE ((*)(ANY))
|
||||
%typemap(consttab) SWIGTYPE ((*)(ANY))
|
||||
{ SWIG_PY_POINTER, (char*)"$symname", 0, 0, (void *)($value), &$descriptor }
|
||||
%typemap(consttab) SWIGTYPE ((* const)(ANY)) = SWIGTYPE ((*)(ANY));
|
||||
|
||||
%typemap(constcode) SWIGTYPE ((*)(ANY)) "";
|
||||
%typemap(constcode) SWIGTYPE ((* const)(ANY)) = SWIGTYPE ((*)(ANY));
|
||||
|
||||
|
||||
/* Smart Pointers */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue