how can I make my function inline?

how can I make my function inline? I have a clocking data out function that is short but it would require a number in and a output from a pin. will this compile inline as if I wrote it all in main? how can I make it that way? I want to compile for speed.

Use the inline keyword before the function return type:

[glow]inline [/glow]int DoWhatever(int someValue)
{
}

thanks! it was almost too obveous I won't forget that soon.