You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to print out the value of a friend, who sent message. No matter what I am trying, can't get it to work. I've looked into your code in other *.c files, and you were printing "uint32_t friend_number" normaly with printf.
How I've tried so far:
#include <inttypes.h> //for PRI and etc
Ah yes, sorry, everything is ok. I managed to figure out that this parameter stands for virtual ID of a friend (not its TOX ID, but an index number in the list)
Good day,
I am trying to print out the value of a friend, who sent message. No matter what I am trying, can't get it to work. I've looked into your code in other *.c files, and you were printing "uint32_t friend_number" normaly with printf.
How I've tried so far:
#include <inttypes.h> //for PRI and etc
void friend_message_cb(Tox *tox, uint32_t friend_number, TOX_MESSAGE_TYPE type, const uint8_t *message, size_t length, void *user_data){
}
The text was updated successfully, but these errors were encountered: