Scl function: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
#pragma scl_function(f) | #pragma scl_function(f) | ||
[[Category: SCL_Reference]] |
Revision as of 17:49, 16 July 2008
The scl_function pragma
The scl_function pragma allows the user to define a remote function interface.
Syntax
#pragma scl_function(SUID, function-name)
Parameters | Type | Description |
function-name | String | Name of the function to define (no quotes) |
Notes
- Identifier must be declared as a function designator with external linkage.
- A compilation error is reported if an attempt is made to match a function more than once.
Example
int f(int x); #pragma scl_function(f)