Main Contents

我果然不懂 C 啊。

April 18, 2008

from gcc-4.2.info:
5.34 An Inline Function is As Fast As a Macro
<..snipped..>
If you specify both `inline’ and `extern’ in the function definition,
then the definition is used only for inlining. In no case is the
function compiled on its own, not even if you refer to its address
explicitly. Such an address becomes an external reference, as […]

Filed under: C, programming | Comments (0)