On Tue, 16 Sep 2008 16:53:53 -0700, "Mark A. Schmucker" <[EMAIL PROTECTED]> wrote: > According to the SIP doc, 6.1 Syntax Definition, a "class-statement" can be > a class, enum, namespace, or a few other things. I can successfully > specify > a class, but not an enum or namespace. > > These are OK: > %Include my.sip > %Import myother.sip > class MyClass; > > These fail with "syntax error" when I run sip: > enum MyEnum; > namespace MyNamespace; > > In all cases, the specified name does exist, although I don't think that > even matters since it's failing early with a syntax error.
Look at the definition of "enum" and "namespace" in the same section to see what SIP is expecting. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
