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
View File
@@ -146,6 +146,7 @@ native bool PrepSDKCall_SetAddress(Address addr);
* @param source Whether to look in Offsets or Signatures.
* @param name Name of the property to find.
* @return True on success, false if nothing was found.
* @error Invalid game config Handle.
*/
native bool PrepSDKCall_SetFromConf(Handle gameconf, SDKFuncConfSource source, const char[] name);
@@ -168,6 +169,7 @@ native void PrepSDKCall_SetReturnInfo(SDKType type, SDKPassMethod pass, int decf
* @param pass How the data is passed in C++.
* @param decflags Flags on decoding from the plugin to C++.
* @param encflags Flags on encoding from C++ to the plugin.
* @error Parameter limit for SDK calls reached.
*/
native void PrepSDKCall_AddParameter(SDKType type, SDKPassMethod pass, int decflags=0, int encflags=0);