mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
fix naming inconsistency in tox.h
This commit is contained in:
parent
632e692577
commit
3f2d815fab
|
@ -222,7 +222,7 @@ int tox_set_status_message(Tox *tox, uint8_t *status, uint16_t length)
|
||||||
return m_set_statusmessage(m, status, length);
|
return m_set_statusmessage(m, status, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
int tox_set_userstatus(Tox *tox, TOX_USERSTATUS status)
|
int tox_set_user_status(Tox *tox, TOX_USERSTATUS status)
|
||||||
{
|
{
|
||||||
Messenger *m = tox;
|
Messenger *m = tox;
|
||||||
return m_set_userstatus(m, (USERSTATUS)status);
|
return m_set_userstatus(m, (USERSTATUS)status);
|
||||||
|
|
|
@ -247,7 +247,7 @@ int tox_get_name(Tox *tox, int friendnumber, uint8_t *name);
|
||||||
* returns -1 on failure.
|
* returns -1 on failure.
|
||||||
*/
|
*/
|
||||||
int tox_set_status_message(Tox *tox, uint8_t *status, uint16_t length);
|
int tox_set_status_message(Tox *tox, uint8_t *status, uint16_t length);
|
||||||
int tox_set_userstatus(Tox *tox, TOX_USERSTATUS status);
|
int tox_set_user_status(Tox *tox, TOX_USERSTATUS status);
|
||||||
|
|
||||||
/* return the length of friendnumber's status message, including null.
|
/* return the length of friendnumber's status message, including null.
|
||||||
* Pass it into malloc
|
* Pass it into malloc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user