On Monday 22 of December 2003 07:58, VANEK Petr wrote: > > Why is all the code extern "C"? - Qt is purely a C++ library, so using > > it in C is likely to cause major headaches. Telling it extern > > "C" means > > to compile it as an external C source. > > > > I would say it should read > > > > #include <scribus.h> > > extern void Run(QWidget *d, ScribusApp *plug); > > extern QString Name(); > > extern int Type();
huh, some strange behaviour. After (faster) compilation without extern "C" f() Scribus doesn't load shared library... -- Petr Vanek -------------- petr [at] yarpen [dot] cz www.yarpen.cz ---------------- Kuolema Kaikille (Paitsi Meille) ------------------------------- Today is good day to end it all -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: signature Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20031225/e518fe26/attachment.pgp
