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
@@ -691,6 +691,7 @@ enum Address
* @param size How many bytes should be read.
* If loading a floating-point value, use NumberType_Int32.
* @return The value that is stored at that address.
* @error Address is null or pointing to reserved memory.
*/
native any LoadFromAddress(Address addr, NumberType size);
@@ -701,6 +702,7 @@ native any LoadFromAddress(Address addr, NumberType size);
* @param data Value to store at the address.
* @param size How many bytes should be written.
* If storing a floating-point value, use NumberType_Int32.
* @error Address is null or pointing to reserved memory.
*/
native void StoreToAddress(Address addr, any data, NumberType size);