[PyKDE] Simple sip program

Greg Green gregory.p.green at boeing.com
Fri Jan 26 18:17:14 GMT 2001


Thanks. That works of course.

Phil Thompson wrote:
> 
> Greg Green wrote:
> >
> > I was trying out a simple sip program before progressing to bigger and
> > better things. However I can't seem to make it work. Here is the sip
> > file:
> > -----------------------------------------------------------------------------------------------------
> > %Module hello
> >
> > class world
> > {
> > %HeaderCode
> > #include "hello.h"
> > %End
> 
> public:
> 
> >         world();
> >         ~world();
> >         const char* get() const;
> > };
> >
> > const char* sayit();
> 
> The missing "public:" should make a difference.
> 
> Phil

-- 

Greg Green
Advanced Design Systems
Math & Computing Technology
Boeing
(425) 865-2790




More information about the PyQt mailing list