[PyKDE] SIP: /Array/ and memory deallocation

2006-03-22 Thread Giovanni Bajo
Hello, I have an API like this: class Foo { public: Foo(char *filename); Foo(char *buffer, int size); [...] }; To make both construction forms work, I have wrapped the second constructor as a staticmethod factory, using /Array/ and /ArraySize/ (this is because overload resolution

Re: [PyKDE] SIP: /Array/ and memory deallocation

2006-03-22 Thread Phil Thompson
On Wednesday 22 March 2006 1:43 pm, Giovanni Bajo wrote: Hello, I have an API like this: class Foo { public: Foo(char *filename); Foo(char *buffer, int size); [...] }; To make both construction forms work, I have wrapped the second constructor as a staticmethod factory,