Difference between revisions of "Event class Compile"

From Flowcode Help
Jump to navigationJump to search
(XML Import to change Variable types into Variable Types)
(XML import of events update)
Line 1: Line 1:
 +
 +
<sidebar>Event Contents</sidebar>
 
The Compile event class is called at various stages during compilation of the downloadable code, and allows a component to customise their C code as raw text. It covers everything from the size of a variables array to the contents of interrupt handlers.
 
The Compile event class is called at various stages during compilation of the downloadable code, and allows a component to customise their C code as raw text. It covers everything from the size of a variables array to the contents of interrupt handlers.
  

Revision as of 14:33, 21 August 2013

<sidebar>Event Contents</sidebar> The Compile event class is called at various stages during compilation of the downloadable code, and allows a component to customise their C code as raw text. It covers everything from the size of a variables array to the contents of interrupt handlers.

See the individual events for details of how to use this event class

Events provided for this class

AddProperty Sent to a component to allow dynamic amendment of global property declarations
AddConst Sent to a component to allow dynamic amendment of global variable declarations
AddVarSize Sent to a component to allow dynamic amendment of global array-size declarations
AddVar Sent to a component to allow dynamic amendment of global constant declarations
AddHeader Sent to a component to allow dynamic amendment of header code
AddInterrupts Sent to a component to allow dynamic amendment of the interrupts for a component
AddInterrupt Sent to a component to allow dynamic amendment of a single interrupts code
Start Broadcast to all components that compilation is starting
Stop Broadcast to all components that compilation has stopped
GetVarSize Sent to a component to amend the size of the expected array

See also

API Expand class