|
RE: Next SWIG release: msg#00169programming.swig
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> |
|---|---|---|
| Previous by Date: | Re: Next SWIG release: 00169, Luigi Ballabio |
|---|---|
| Next by Date: | RE: Next SWIG release: 00169, David Beazley |
| Previous by Thread: | RE: Next SWIG releasei: 00169, David Beazley |
| Next by Thread: | RE: Next SWIG release: 00169, David Beazley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |