+added a context parameter to stepped handler.

This commit is contained in:
Wang Renxin 2016-06-27 09:53:54 +08:00 committed by GitHub
parent acc7a0abdc
commit 41f787b9b6

View File

@ -1419,8 +1419,9 @@ static int beep(struct mb_interpreter_t* s, void** l) {
** Callbacks and handlers ** Callbacks and handlers
*/ */
static void _on_stepped(struct mb_interpreter_t* s, char* f, int p, unsigned short row, unsigned short col) { static void _on_stepped(struct mb_interpreter_t* s, void** l, char* f, int p, unsigned short row, unsigned short col) {
mb_unrefvar(s); mb_unrefvar(s);
mb_unrefvar(l);
mb_unrefvar(f); mb_unrefvar(f);
mb_unrefvar(p); mb_unrefvar(p);
mb_unrefvar(row); mb_unrefvar(row);