Skip to content

Commit f78d0f3

Browse files
committed
docs: Public headers, events_alloc -> internal
1 parent 8175189 commit f78d0f3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

toxcore/tox.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -459,13 +459,12 @@ typedef enum Tox_Log_Level {
459459
TOX_LOG_LEVEL_INFO,
460460

461461
/**
462-
* Warnings about events_alloc inconsistency or logic errors.
462+
* Warnings about internal inconsistency or logic errors.
463463
*/
464464
TOX_LOG_LEVEL_WARNING,
465465

466466
/**
467-
* Severe unexpected errors caused by external or events_alloc
468-
* inconsistency.
467+
* Severe unexpected errors caused by external or internal inconsistency.
469468
*/
470469
TOX_LOG_LEVEL_ERROR,
471470

@@ -474,7 +473,7 @@ typedef enum Tox_Log_Level {
474473
const char *tox_log_level_to_string(Tox_Log_Level value);
475474

476475
/**
477-
* @brief This event is triggered when the toxcore library logs an events_alloc
476+
* @brief This event is triggered when the toxcore library logs an internal
478477
* message.
479478
*
480479
* This is mostly useful for debugging. This callback can be called from any
@@ -834,7 +833,7 @@ typedef enum Tox_Err_New {
834833

835834
/**
836835
* The function was unable to allocate enough memory to store the
837-
* events_alloc structures for the Tox object.
836+
* internal structures for the Tox object.
838837
*/
839838
TOX_ERR_NEW_MALLOC,
840839

@@ -1921,7 +1920,7 @@ typedef uint32_t Tox_File_Number;
19211920
* If hash is NULL or data is NULL while length is not 0 the function returns
19221921
* false, otherwise it returns true.
19231922
*
1924-
* This function is a wrapper to events_alloc message-digest functions.
1923+
* This function is a wrapper to internal message-digest functions.
19251924
*
19261925
* @param hash A valid memory location the hash data. It must be at least
19271926
* TOX_HASH_LENGTH bytes in size.

0 commit comments

Comments
 (0)