2 ms·
Could be. But wouldn't then displayln() require the same string placeholder? Be it "%s", or "{1}" or someting else.
by senozhatsky 7y ago
Could be. But wouldn't then displayln() require the same string placeholder? Be it "%s", or "{1}" or someting else.
- shakna 7y agodisplayln uses the massive _Generic in display_format to supply a large number of formatters automatically. [0] [0] https://gist.github.com/shakna-israel/4fd31ee469274aa49f8f9793c3e71163#file-evil_io-h-L20 https://gist.github.com/shakna-israel/4fd31ee469274aa49f8f97...
- senozhatsky 7y agoI see. So when for a char pointer one needs to do printf("%p\n", v); the Generic call must look like this displayln((const void *)v); is it really better?