Hi,

Am 06/08/2008 07:44 AM schrieb Stefan Behnel:
> as a side-note:
> 
> Johannes Wienke wrote:
>> cpdef class Foo:
>>      cdef char* myData
>>
>>      cdef void setData(Foo self, char *data)
>>              self.myData = data
> 
> no need to declare the type of self here, you can just write
> 
>       cdef void setData(self, char *data)
>               self.myData = data

Yes, I know. This was only one thing I tried to find the bug.... but
without luck. I will try to break it down to a working example today.

Johannes



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to