Use the new lambdas

This commit is contained in:
Michal Moskal 2016-08-17 18:08:46 +03:00
parent 2780497d4f
commit 719370f6b0
2 changed files with 7 additions and 3 deletions

View File

@ -171,9 +171,13 @@ namespace pxt {
//% //%
void registerWithDal(int id, int event, Action a); void registerWithDal(int id, int event, Action a);
//% //%
void runAction0(Action a); uint32_t runAction3(Action a, int arg0, int arg1, int arg2);
//% //%
void runAction1(Action a, int arg); uint32_t runAction2(Action a, int arg0, int arg1);
//%
uint32_t runAction1(Action a, int arg0);
//%
uint32_t runAction0(Action a);
//% //%
Action mkAction(int reflen, int totallen, int startptr); Action mkAction(int reflen, int totallen, int startptr);
//% //%

View File

@ -74,7 +74,7 @@
"yottaTarget": "bbc-microbit-classic-gcc", "yottaTarget": "bbc-microbit-classic-gcc",
"yottaCorePackage": "pxt-microbit-core", "yottaCorePackage": "pxt-microbit-core",
"githubCorePackage": "microsoft/pxt-microbit-core", "githubCorePackage": "microsoft/pxt-microbit-core",
"gittag": "v0.2.2", "gittag": "v0.3.1",
"serviceId": "ws" "serviceId": "ws"
}, },
"serial": { "serial": {