Difference between revisions of "Directref"
From Mesham
Jump to navigationJump to search (Created page with '== Syntax == directref[ ] == Semantics == This tells the compiler that the programmer might use this variable outside of the language (e.g. Via embedded C code) and not to per…') |
|||
Line 10: | Line 10: | ||
var pid:Int :: allocated[multiple[]] :: directref[]; | var pid:Int :: allocated[multiple[]] :: directref[]; | ||
− | |||
− | |||
− | |||
− | |||
[[Category:Type Library]] | [[Category:Type Library]] | ||
[[Category:Composite Types]] | [[Category:Composite Types]] | ||
[[Category:Attribute Types]] | [[Category:Attribute Types]] |
Revision as of 16:37, 12 January 2013
Syntax
directref[ ]
Semantics
This tells the compiler that the programmer might use this variable outside of the language (e.g. Via embedded C code) and not to perform certain optimisations which might not allow for this.
Example
var pid:Int :: allocated[multiple[]] :: directref[];