Update dhooks.inc documentation for consistency (#1658)

* Update dhooks.inc documentation for consistency

- Modifies whitespace (change tabs to spaces for non initial indents, fix alignments, create consistency with rest of SM docs)
- Change `/*` to `/**` for consistency and to indicate comment doc
- Removes incorrect `@noreturn` doc

* Split long comments across multiple lines

* Remove `@noreturn` in IGameConfigs.h

* Remove `@noreturn` from IGameHelpers.h

* Remove `@noreturn` from asm.c

* Add `@noreturn` to ThrowError

* Add `@noreturn` and `@error` to ThrowNativeError
This commit is contained in:
Arron Vinyard
2022-02-01 18:46:59 +01:00
committed by GitHub
parent f5f26e2dfe
commit 250dc1b206
6 changed files with 363 additions and 337 deletions
+1
View File
@@ -348,6 +348,7 @@ native void SetFailState(const char[] string, any ...);
*
* @param fmt String format.
* @param ... Format arguments.
* @noreturn
* @error Always!
*/
native void ThrowError(const char[] fmt, any ...);