Wed Oct 28 15:49:01 2009

Asterisk developer's documentation

inline_api.h File Reference

Inlinable API function macro. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define AST_INLINE_API(hdr, body)   hdr; extern inline hdr body

Detailed Description

Inlinable API function macro.

Small API functions that are candidates for inlining need to be specially declared and defined, to ensure that the 'right thing' always happens. For example:

The AST_INLINE_API macro allows this to happen automatically, when used to define your function. Proper usage is as follows:

Definition in file inline_api.h.

Define Documentation

#define AST_INLINE_API ( hdr,
body   )     hdr; extern inline hdr body

Definition at line 49 of file inline_api.h.

Generated on Wed Oct 28 15:49:01 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6