[PyKDE] namespaces in sip
Gerard Vermeulen
gvermeul at grenoble.cnrs.fr
Thu Oct 16 09:00:00 BST 2003
On Wed, 15 Oct 2003 13:46:49 -0800
Patrick Stinson <ajole-1 at gci.net> wrote:
[ .. ]
>
> I'm working on modifying my sip project to include a lot of classes all
> contained in the same C++ namespace. What is the correct way to organize the
> sip files? Do all classes in the namespace have to be declared within the
> namespace in the same sip file?
>
> Right now I have added the namespace decl and brackets in each class' sip
> file, all of which are included in the module file, just like in PyQt. When
> it's like this, I get a sip parse error on the line including the second file
> with a namespace decl.
>
Jim is very modest. You should get the sources of PyKDE to steal all recipes
he is using (at least that is what I do, if the sip files in PyQt do not
provide an answer).
Gerard
More information about the PyQt
mailing list