Difference between revisions of "Directref"

From Mesham
Jump to navigationJump to search
Line 12: Line 12:
  
 
[[Category:Type Library]]
 
[[Category:Type Library]]
[[Category:Composite Types]]
+
[[Category:Compound Types]]
 
[[Category:Attribute Types]]
 
[[Category:Attribute Types]]

Revision as of 17:51, 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[];