[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] af9b52: Fix a comment typo in sqImageFileAccessViaStdio.h.

Tobias Pape Das.Linux at gmx.de
Sun Oct 9 10:30:33 UTC 2022



> On 9. Oct 2022, at 12:21, Jakob Reschke <jakres+squeak at gmail.com> wrote:
> 
> Am So., 9. Okt. 2022 um 11:27 Uhr schrieb Tobias Pape <Das.Linux at gmx.de>:
>  > char* foo is bad; the type of bar in "char* foo, bar;" is char.
> 
> Ok, so it's "typedef pchar char*" from now on…
> 
> And typedef const char *pcchar; because otherwise some inexperienced C programmer will use const pchar x and not get the const string which they wanted... 
> 
> Or in other words: don't do this. ;-)

HA! :D


More information about the Vm-dev mailing list