¾ÆÀ̽º wrote:

> I want to know about inline function. I found some functions had inline
> prefix such as "inline void foo_()". I really want what it means and
> when i use it.

It is a clue to the compiler to tell it to compile calls to the
function by inserting the function's body into the calling function,
rather than using a `call' instruction.

It is generally used for simple functions which are used often, in
order to speed things up.

If you compile with -finline-functions or -O3, gcc will automatically
inline simple functions which are in the same source file as the
function which calls them.

[PS: you should fix your From/Reply-To address; using 8-bit characters
in headers is non-standard, and relies upon the recipient's mailer
knowing which encoding is used.]

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to