From: Nitro <ni...@dr...> - 2006-10-18 18:09:15
|
Am 18.10.2006, 20:00 Uhr, schrieb Jason Stewart = <jas...@gm...>: > Hi Michele, > > On 10/14/06, Michele Joyce <er...@jl...> wrote: >> I've got the following perl code: >> >> my $channelkey =3D new myapi_perl::ChannelKey($archiveportal, "IBC0R0= 7H"); >> $archiveportal->Count($channelkey) >> >> When I run this, I get the following error: >> TypeError in method 'ArchivePortal_Count', argument 2 of type >> 'ChannelKey const &' >> >> How can I tell what the swig wrapper THINKS it's getting, if I'm not >> passing it a ChannelKey? Why doesn't this work, but in other cases, w= hen >> I pass around an object it works just fine. Does it have to do with t= he >> const &? Is there a universal way to fix this for all wrappers (maybe via the UTL= )? = Python suffers from the same problem. Some versions ago swig did output = = what it thinks its getting; at some point (late 1.3.20s i think) it = disappeared. -Matthias |