Add missing set_task_* callback info (#952)

This commit is contained in:
OciXCrom 2021-08-07 17:31:18 +02:00 committed by GitHub
parent b8c490b5e6
commit 36d5aa97b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -809,6 +809,13 @@ stock reset_menu(index)
/** /**
* Calls a function after a specified time has elapsed. * Calls a function after a specified time has elapsed.
* *
* @note The function is called in the following manner if data is passed:
* data[] - Data passed
* id - Task index
*
* @note The function is called in the following manner if no data is passed:
* id - Task index
*
* @param time Time interval to assign * @param time Time interval to assign
* @param function Function to execute * @param function Function to execute
* @param id Task id to assign * @param id Task id to assign

View File

@ -1762,6 +1762,13 @@ native parse_time(const input[], const format[], time = -1);
* @note Please consider using set_task_ex() instead which allows you to * @note Please consider using set_task_ex() instead which allows you to
* use named constants for flags instead of letters. * use named constants for flags instead of letters.
* *
* @note The function is called in the following manner if data is passed:
* data[] - Data passed
* id - Task index
*
* @note The function is called in the following manner if no data is passed:
* id - Task index
*
* @param time Time interval to assign * @param time Time interval to assign
* @param function Function to execute * @param function Function to execute
* @param id Task id to assign * @param id Task id to assign