HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file util.Runtime by barry
expand copy to clipboardexpand
data ExceptionFrame {
	char componentName[]
	char objectOID[]
	char message[]
	int lineNumber
}

data ExceptionInfo {
	ExceptionFrame frames[]
}

/* {"description" : "This API provides access to the Dana runtime's utility functions."} */

interface Runtime {
	
	/* {"@description" : "Get the runtime's version number."} */
	event exception(ExceptionInfo ei)

	/* {"@description" : "Get the runtime's version number."} */
	int getVersion()

	/* {"@description" : "Start listening for events."} */
	void listen(opt byte types[])
	
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n util.Runtime -m "reason for update" -u yourUsername
Version 2 (this version) by barry
Notes for this version: Adds runtime events.
Version 1 by barry