mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 23:49:00 +08:00
ivy-ocaml update
This commit is contained in:
@@ -25,7 +25,7 @@ value ivy_mainLoop(value unit)
|
|||||||
void timer_cb(TimerId id, void *data, unsigned long delta)
|
void timer_cb(TimerId id, void *data, unsigned long delta)
|
||||||
{
|
{
|
||||||
value closure = *(value*)data;
|
value closure = *(value*)data;
|
||||||
callback(closure, Val_long((int) id));
|
callback(closure, Val_long(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
value ivy_timerRepeatafter(value nb_ticks,value delay, value closure_name)
|
value ivy_timerRepeatafter(value nb_ticks,value delay, value closure_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user