[C++-sig] Cross module definition

Arnaud PICARD arnaud.picard at edfgdf.fr
Mon Sep 1 18:58:29 CEST 2003


Hello,

As I've already mentionned, I still have problems with cross def.
Here you'll find an example I've used to test a method. I'm not sure I've
done it right (actually I guess it's false since I can't get it to work
properly)

So, in these modules, I have define one as ModuleA and the other as
ModuleB.
They are AFAIK well written.

If I import them under python, and define c = ModuleA.Cmplx( 1., 0. ), b =
ModuleB.Printer(), and then try b.print1( c ) or b.print2( c ) it won't
work.






More information about the Cplusplus-sig mailing list