From: William S F. <ws...@fu...> - 2006-10-19 21:13:35
|
Jason Stewart wrote: > Hey William, > > On 10/18/06, William S Fulton <ws...@fu...> wrote: > >> Well I agree we need to put in some warnings, as I too have had strange >> behaviour mixing %import and %include, and never quite understood why. >> > > yeah - that would really help. > I've just started looking at this. I don't suppose you or anyone else have some examples of this strange interaction lying around? >> The other workaround is to use the SWIGIMPORTED macro, so then your >> xerces.i would have something like: >> >> #if !defined(SWIGIMPORTED) >> %include "init.i" >> #endif >> > > ok, that is cool - it will help a lot. > > thanks william. > > Cheers, jas. > |