mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
Merge branch 'master' of github.com:paparazzi/paparazzi
This commit is contained in:
@@ -17,7 +17,7 @@ OCAMLFLAGS =
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
OCAMLOPTFLAGS=
|
OCAMLOPTFLAGS=
|
||||||
CFLAGS=-Wall
|
CFLAGS+=-Wall
|
||||||
OCAMLINC=-I `ocamlc -where`
|
OCAMLINC=-I `ocamlc -where`
|
||||||
GLIBINC=`pkg-config --cflags glib-2.0`
|
GLIBINC=`pkg-config --cflags glib-2.0`
|
||||||
|
|
||||||
|
|||||||
@@ -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