Elektrine lite

← Feed

@poliorcetics@social.treehouse.systems

Post #1892860

2026-05-02 14:52 UTC

@thephd@pony.social I am confused but it seems cool

Replies (1)

  • @thephd@pony.social 2026-05-02 14:58

    @poliorcetics@social.treehouse.systems the magic is in the identifier after the default and after the int in the _Generic: it allows you to take an ident on the value put into a C _Generic expression so you don't have to keep re-computing the value to use it in the branches. It also gives safe type checking.

    Open ##1892859