Sorry, I'm on LinuxWorld Expo this week and won't be able to look at this until next week. If this switch appears just in 1.3.28 swig then the change should be a little bit bigger for back compatibility. Shortly, I greatly appreciate the patch - it gives me the right direction where I need to look for details.

Thanks,
Igor

Arnaud Fontaine wrote:
Hello,

This bug  [0] is due  to swig upgrade.  Actually, pyme builds  fine with
swig <  1.3.28. In swig 1.3.28,  there is a new  option, namely 'match',
for typemaps.

I have attached the patch which  fixes this bug. I have built and tested
pyme successfully using this patch.  Could you please make an upgrade of
pyme for  swig 1.3.28 ? Thanks  a lot to  Manuel Menal for his  help for
tracking the bug.

Regards,
Arnaud Fontaine

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358648

------------------------------------------------------------------------

--- gpgme.i.old 2006-04-02 16:23:02.000000000 +0200
+++ gpgme.i     2006-04-02 15:43:27.000000000 +0200
@@ -23,7 +23,7 @@
// Allow use of None for strings. -%typemap(python,in) const char * {
+%typemap(match="in") const char * {
   if ($input == Py_None)
     $1 = NULL;
   else if (PyString_Check($input))



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to