Inlining from another source file

Jonathan Wakely jwakely.gcc@gmail.com
Sat Oct 1 15:20:00 GMT 2011


On 1 October 2011 15:50, Ami Chayun wrote:
>
> What is the proper way to make GCC inline the function?

As it says on the page you linked to:
"The way to use it is to put a function definition in a header file
with these keywords, and put another copy of the definition (lacking
inline and extern) in a library file."



More information about the Gcc-help mailing list