%callback and Python class access for C++ static member functions fixes
Fix access to C++ static member functions using Python class staticmethod syntax, such as Klass.memberfunction instead of Klass_memberfunction, when using -fastproxy and -builtin in combination with %callback. The docstring containing the callback pointers were not being patched during module initialisation.
This commit is contained in:
parent
627f7214db
commit
3aa302c08f
4 changed files with 38 additions and 15 deletions
|
|
@ -7,6 +7,12 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|||
Version 4.1.0 (in progress)
|
||||
===========================
|
||||
|
||||
2022-01-14: wsfulton
|
||||
[Python] Fix %callback and specifying the callback function as a
|
||||
static member function using Python staticmethod syntax, such as
|
||||
Klass.memberfunction instead of Klass_memberfunction when using
|
||||
-builtin and -fastproxy.
|
||||
|
||||
2022-01-11: wsfulton
|
||||
[Python] Accept keyword arguments accessing static member functions when
|
||||
using -builtin and kwargs feature and Python class staticmethod syntax.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue