34 points | by anon25783 3 days ago ago
1 comments
Interesting use of macros to get a generic "result" thingy:
https://git.sr.ht/~willowf/beebo/tree/master/item/src/result...
I think it's cool that stuff like this works in C but my gut feeling is that this isn't going to play well with LSP tools. Are state-of-the-art C LSP servers aware of the preprocessor?
Interesting use of macros to get a generic "result" thingy:
https://git.sr.ht/~willowf/beebo/tree/master/item/src/result...
I think it's cool that stuff like this works in C but my gut feeling is that this isn't going to play well with LSP tools. Are state-of-the-art C LSP servers aware of the preprocessor?