广告
广告
Chapter 23
Declaration Specifications
Declaration specifications describe special properties to associate with a function or variable at compile time. You insert these specifications in the object's declaration.
•
Syntax for Declaration Specifications
•
Syntax for Attribute Specifications
23.1 Syntax for Declaration Specifications
The syntax for a declaration specification is
__declspec(
spec [
options ])
function-declaration ; where spec is the declaration specification, options represents possible arguments for the declaration specification, and function-declaration represents the declaration of the function. Unless otherwise specified in the declaration specification's description, a function's definition does not require a declaration specification.
23.1.1 __declspec(never_inline)
Specifies that a function must not be inlined.
Syntax
__declspec (never_inline)
function_prototype ;
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
Freescale Semiconductor, Inc.
393
广告