top | item 41860015

(no title)

jstarks | 1 year ago

No inline functions in library headers, then.

discuss

order

flohofwoe|1 year ago

Inline is mostly pointless in C anyway though.

But it might be a minor problem for STB-style header libraries.

It's not uncommon for C++ projects to include the implementation of an STB-style header into a C++ source file instead of 'isolating' them in a C source file. That's about the only reason why I still support the common C/C++ subset in my C libraries.