On 9. Oct 2022, at 12:21, Jakob Reschke jakres+squeak@gmail.com wrote:
Am So., 9. Okt. 2022 um 11:27 Uhr schrieb Tobias Pape Das.Linux@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