support flag argument (#2126)

* support flag argument

* enable drop semantics

* add reentrant

* updated shims
This commit is contained in:
Peli de Halleux
2019-06-07 09:54:36 -07:00
committed by Abhijith Chatra
parent a0181ef2a7
commit 83ababd521
3 changed files with 24 additions and 4 deletions

10
libs/core/enums.d.ts vendored
View File

@ -400,6 +400,16 @@ declare namespace input {
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_VOLUMEUP = 8, // MES_REMOTE_CONTROL_EVT_VOLUMEUP
}
declare const enum EventFlags {
//%
QueueIfBusy = 16, // MESSAGE_BUS_LISTENER_QUEUE_IF_BUSY
//%
DropIfBusy = 32, // MESSAGE_BUS_LISTENER_DROP_IF_BUSY
//%
Reentrant = 8, // MESSAGE_BUS_LISTENER_REENTRANT
}
declare namespace control {
}