Documentation corrections and additions (#1498)

* Added `@error` documentation for every function that's missing it.
* Changed tabs to spaces (text alignment)
This commit is contained in:
Natanel Shitrit
2021-06-24 15:45:01 +01:00
committed by GitHub
parent 2778b132f0
commit d73f4e7eca
15 changed files with 73 additions and 37 deletions
+2 -1
View File
@@ -95,7 +95,7 @@ native Handle CreateTimer(float interval, Timer func, any data=INVALID_HANDLE, i
* @param timer Timer Handle to kill.
* @param autoClose If autoClose is true, the data that was passed to CreateTimer() will
* be closed as a handle if TIMER_DATA_HNDL_CLOSE was not specified.
* @error Invalid handles will cause a run time error.
* @error Invalid timer handle.
*/
native void KillTimer(Handle timer, bool autoClose=false);
@@ -105,6 +105,7 @@ native void KillTimer(Handle timer, bool autoClose=false);
* @param timer Timer Handle to trigger.
* @param reset If reset is true, the elapsed time counter is reset
* so the full interval must pass again.
* @error Invalid timer handle.
*/
native void TriggerTimer(Handle timer, bool reset=false);