[Xapian-devel] Bindings and overloading
Olly Betts
olly at survex.com
Wed May 26 18:59:21 BST 2004
On Wed, May 26, 2004 at 06:06:16PM +0100, James Aylett wrote:
> On Wed, May 26, 2004 at 05:53:44PM +0100, Olly Betts wrote:
>
> > How about a single xapian.i, but use "#ifdef SWIGPYTHON" so it sees
> > different parts? There's something similar with SWIGGUILE already.
>
> I suppose so. There aren't a huge number of conflicts ... #ifdef
> SWIG_OVERLOADING might be better, and the target languages can define
> that in util.i if they want.
Sure, if that works.
I'm not sure it would be wise to use SWIG_OVERLOADING as the name though
- that seems to be treading on someone else's namespace...
Cheers,
Olly
More information about the Xapian-devel
mailing list