when incorrect types passed are passed to the overloaded methods.
Old unhelpful error message:
Error in f(...) : could not find function "f"
Example of new improved error message:
Error in use_count(k) :
cannot find overloaded function for use_count with argtypes (NULL)
23 lines
995 B
Text
23 lines
995 B
Text
Below are the changes for the current release.
|
|
See the CHANGES file for changes in older releases.
|
|
See the RELEASENOTES file for a summary of changes in each release.
|
|
Issue # numbers mentioned below can be found on Github. For more details, add
|
|
the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|
|
|
Version 4.2.0 (in progress)
|
|
===========================
|
|
|
|
2022-10-26: wsfulton
|
|
[R] #2386 Fix memory leak in R shared_ptr wrappers.
|
|
Fix leak when a cast up a class inheritance chain is required.
|
|
|
|
2022-10-26: wsfulton
|
|
[R] Improve R wrapper error message when calling overloaded methods
|
|
when incorrect types passed are passed to the overloaded methods.
|
|
|
|
Old unhelpful error message:
|
|
Error in f(...) : could not find function "f"
|
|
|
|
Example of new improved error message:
|
|
Error in use_count(k) :
|
|
cannot find overloaded function for use_count with argtypes (NULL)
|