steals python director docs and adapts to perl5

This commit is contained in:
Robert Stone 2013-11-12 14:13:30 -08:00
commit 35dc86f064
2 changed files with 343 additions and 1 deletions

View file

@ -202,7 +202,7 @@ namespace Swig {
protected:
SV *err;
public:
DirectorMethodException(SV *sv)
DirectorMethodException(SV *sv = sv_mortalcopy(ERRSV))
: err(sv)
{
SvREFCNT_inc(err);