Igor Belyi wrote:
I'm still trying to find the right workaround for this. For now it
seems SWIG 1.3.28 is not good
version to use for pyme build.
I've got it! Here's a slightly better patch which should not break back
compatibility and does not use
undocumented features. I'm making similar changes in CVS as well.
Cheers,
Igor
--- gpgme.i.old 2006-04-12 14:08:14.000000000 -0400
+++ gpgme.i 2006-04-12 13:46:23.000000000 -0400
@@ -35,6 +35,7 @@
return NULL;
}
}
+%typemap(freearg) const char * "";
// Release returned buffers as necessary.
%typemap(newfree) char * "free($1);";