SIP v4.7.5 Released

13 May 2008

SIP v4.7.5 has been released. This version is needed by PyQt v4.4.

  • The sip.voidptr type has an optional size associated with it and supports const void *. If a size is associated then it also supports Python's buffer protocol.
  • Added sipConvertToVoidPtr() to the SIP API.
  • Added sipConvertFromConstVoidPtr(), sipConvertFromConstVoidPtrAndSize(), sipConvertFromVoidPtr() and sipConvertFromVoidPtrAndSize() to the SIP API.
  • Added the /ResultSize/ argument annotation to specify the size of a block of memory returned as a void * or const void *.
  • Added the /NoArgParser/ function annotation to give %MethodCode complete responsibility for argument parsing.
  • Added the /NoRelease/ mapped type annotation to specify that the sipReleaseMappedType() function is not supported.
  • The /ArraySize/ annotation now supports arrays with more than 231 elements.
  • %GetCode and %SetCode for class attributes now have access to the referencing type object.
  • Any object that supports the Python buffer protocol can now be passed as a char or char * argument.