From: Barry S. <ba...@ba...> - 2008-12-22 22:43:17
|
On 19 Dec 2008, at 08:09, William Newbery wrote: > I looked at the sample and played around with Py::ExtensionObject > but in nethier case can I see anyway to use the object it contains... > > The only methods avaible on it are the standrd ones like isTuple, > as_string, etc. > How do I gain access to the classes own methods and data (including > those not visible to python, like Sound's the internal SoundData* > data object which contains data required internally by the sound > system (eg the PCM wav data), and is also not a python object. Implement getattr and return an appropriate object for each name. Barry |