logoalt Hacker News

yxhuvudyesterday at 5:28 PM1 replyview on HN

"static inline", the best way of getting people doing bindings in other languages to dislike your library (macros are just as bad, FWIW).

I really wish someone on the C language/compiler/linker level took a real look at the problem and actually tried to solve it in a way that isn't a pain to deal with for people that integrate with the code.


Replies

LtWorfyesterday at 5:44 PM

If it's not in the .h file it's supposed to be a private function.

show 1 reply