Lies in education [was Re: The "loop and a half"]
Ben Bacarisse
ben.usenet at bsb.me.uk
Wed Oct 11 18:53:26 EDT 2017
Gregory Ewing <greg.ewing at canterbury.ac.nz> writes:
> bartc wrote:
>
>> tokenrec * (*)[]
>>
>> the original source and that type is written like this:
>>
>> ref [] ref tokenrec
>
> The idiomatic way to write that type in C would be
>
> tokenrec **
That's a different type. I think you mean that a human writing C
(rather than bartc's code generator) would probably design the code to
use tokenrec ** then I agree, but the latter is not just a different way
to write the former.
--
Ben.
More information about the Python-list
mailing list