[PyKDE] Simple sip program

Phil Thompson phil at river-bank.demon.co.uk
Thu Jan 25 23:34:50 GMT 2001


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




More information about the PyQt mailing list