logo       

RE: Next SWIG release: msg#00169

programming.swig

Subject: RE: Next SWIG release

David Beazley writes:
>
> class Base {
> public:
> virtual void foo() = 0;
> };
>
> class Bar : public Base {
> public:
> virtual void foo();
> };
>
> SWIG currently generates two wrapper functions (Base_foo and
> Bar_foo). However, one of these is redundant---the Base_foo() wrapper
> could be used for both. We could modify SWIG to make this
> optimization (and others that are similar).
>
> Of course, I'm sure there are other things we could do as well. I'm open
> to ideas on that.

I would really like to see that one fixed soon.

I also vote for including Mark Rose's patch for derived classes.

Jeremy
--
Jeremy Slade
Hewlett-Packard Company - Systems & VLSI Technology Division
jeremy.slade@xxxxxx (970) 898-7881

_______________________________________________
Swig maillist - Swig@xxxxxxxxxxxxxxx
http://mailman.cs.uchicago.edu/mailman/listinfo/swig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise