[PyQt] Wrapping "const char * const *" in sip

dcassidy36 at mass.rr.com dcassidy36 at mass.rr.com
Fri May 7 22:21:04 BST 2010


This is valid C++ syntax, but SIP does not seem to like it. How do I wrap the code mentioned below?

sip: sip/ptlib/PInternetProtocol.sip:63: syntax error
Error: Unable to create the C++ code.

class PInternetProtocol
{
  protected:
    PInternetProtocol(
      const char * defaultServiceName, ///< Service name for the protocol.
      int cmdCount,                 ///< Number of command strings.
      const char * const * cmdNames    ///< Strings for each command.
    );
    // Create an unopened TCP/IP protocol socket channel.
};
--
Regards,
 -Demetrius Cassidy


More information about the PyQt mailing list