Greg Ewing, 12.12.2009 11:44:
> Lisandro Dalcin wrote:
> 
>> Just in case, did you mean
>>
>> ctypedef encoding['ascii'] char* ascii
>> ctypedef encoding['utf8'] char* utf8
>> ctypedef encoding['latin1'] char* latin1
> 
> No, I didn't.
> 
>    ctypedef   encoding['utf8']    utf8
> 
>               ^^^^^^^^^^^^^^^^    ^^^^
>               This denotes a      We are declaring this name
>                   type            to be an alias for that type

I don't think "encoding" is a good name for a type, though. The purpose of
names of that type is to hold data, not encodings.

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

Reply via email to