by josemanuel · 2y ago · 0 comments
I’m actually also not familiar with weak, but a quick glance suggests that it might not mean the same thing as inline. Can weak symbols be defined multiple times? EDIT: yes, according to an SO post compilers often use weak to implement inline.
Marking the symbol as weak is what inline indeed does from a technical point of view.