From: Olly B. <ol...@su...> - 2006-09-28 11:14:41
|
I've just been trying SWIG CVS HEAD on Xapian. The only problem so far seems to be that with C# I now get an essentially empty _wrap.h (it only has comments and include guards) - I didn't get this at all before. Is this change intentional, or is it an accidental side effect of the recent director changes? Cheers, Olly |
From: William S F. <ws...@fu...> - 2006-09-28 21:44:15
|
Olly Betts wrote: > I've just been trying SWIG CVS HEAD on Xapian. The only problem so far > seems to be that with C# I now get an essentially empty _wrap.h (it > only has comments and include guards) - I didn't get this at all before. > > Is this change intentional, or is it an accidental side effect of the > recent director changes? > Doesn't sound right. I'll take a look... William |
From: Olly B. <ol...@su...> - 2006-09-28 21:47:12
|
On 2006-09-28, William S Fulton <ws...@fu...> wrote: > Olly Betts wrote: >> I've just been trying SWIG CVS HEAD on Xapian. The only problem so far >> seems to be that with C# I now get an essentially empty _wrap.h (it >> only has comments and include guards) - I didn't get this at all before. >> >> Is this change intentional, or is it an accidental side effect of the >> recent director changes? > > Doesn't sound right. I'll take a look... Thanks. I suspect any .i will demonstrate it, but let me know if you need me to produce one. Cheers, Olly |
From: William S F. <ws...@fu...> - 2006-09-29 20:08:11
|
Olly Betts wrote: > On 2006-09-28, William S Fulton <ws...@fu...> wrote: >> Olly Betts wrote: >>> I've just been trying SWIG CVS HEAD on Xapian. The only problem so far >>> seems to be that with C# I now get an essentially empty _wrap.h (it >>> only has comments and include guards) - I didn't get this at all before. >>> >>> Is this change intentional, or is it an accidental side effect of the >>> recent director changes? >> Doesn't sound right. I'll take a look... > > Thanks. > > I suspect any .i will demonstrate it, but let me know if you need me to > produce one. > Sounds like you have directors turned on with %module(directors="1") xyz but with C#, there are no director features enabled, so perhaps you have something like this: #if defined(SWIGJAVA) || defined(SWIGPYTHON) %feature("director"); #endif which might be the case as C# did not support directors in 1.3.29. Failing that, I'd need some sort of interface file to debug. William |
From: Olly B. <ol...@su...> - 2006-09-30 03:40:31
|
On 2006-09-29, William S Fulton <ws...@fu...> wrote: > Sounds like you have directors turned on with > > %module(directors="1") xyz > > but with C#, there are no director features enabled, so perhaps you have > something like this: > > #if defined(SWIGJAVA) || defined(SWIGPYTHON) > %feature("director"); > #endif > > which might be the case as C# did not support directors in 1.3.29. Aha! Yes, that's exactly what's going on. Sorry for the noise. Cheers, Olly |