/* Set the callback for typing changes. * function (int friendnumber, int is_typing) */ void tox_callback_typing_change(Tox *tox, void (*function)(Tox *tox, int, int, void *), void *userdata) { Messenger *m = tox; typedef void (*function_type)(Messenger *, int, int, void *); function_type function_new = (function_type)function; m_callback_typingchange(m, function_new, userdata); }
/* Set the callback for typing changes. * function (int32_t friendnumber, uint8_t is_typing) */ void tox_callback_typing_change(Tox *tox, void (*function)(Messenger *tox, int32_t, uint8_t, void *), void *userdata) { Messenger *m = tox; m_callback_typingchange(m, function, userdata); }