__inline

From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Keyword Extensions

Syntax

__inline <datatype> <class>_<function> (<parameters>) { <statements>; }

Description

Use the __inline keyword to declare or define C or C++ inline functions. The behavior of the __inline keyword is identical to that of the inline keyword, which is only supported in C++.

Inline functions are best reserved for small, frequently used functions.

See Also