Scl function

From STRIDE Wiki
Revision as of 19:50, 11 July 2008 by Stevel (talk | contribs) (New page: = The scl_function pragma = The scl_function pragma allows the user to define a remote function interface. == Syntax == #pragma scl_func(SUID, function-name) {| border="1" cellspacing...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The scl_function pragma

The scl_function pragma allows the user to define a remote function interface.

Syntax

#pragma scl_func(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)