Fix ArrayStack.Pop documentation (#1099)

This commit is contained in:
42 2019-11-13 08:26:36 +00:00 committed by Headline
parent d6e518838f
commit 351e406f85

View File

@ -84,7 +84,7 @@ methodmap ArrayStack < Handle
// @param block Optionally specify which block to read from // @param block Optionally specify which block to read from
// (useful if the blocksize > 0). // (useful if the blocksize > 0).
// @param asChar Optionally read as a byte instead of a cell. // @param asChar Optionally read as a byte instead of a cell.
// @return True on success, false if the stack is empty. // @return Value popped from the stack.
// @error The stack is empty. // @error The stack is empty.
public native any Pop(int block=0, bool asChar=false); public native any Pop(int block=0, bool asChar=false);
@ -92,7 +92,7 @@ methodmap ArrayStack < Handle
// //
// @param buffer Buffer to store string. // @param buffer Buffer to store string.
// @param maxlength Maximum size of the buffer. // @param maxlength Maximum size of the buffer.
// @oaram written Number of characters written to buffer, not including // @param written Number of characters written to buffer, not including
// the null terminator. // the null terminator.
// @error The stack is empty. // @error The stack is empty.
public native void PopString(char[] buffer, int maxlength, int &written = 0); public native void PopString(char[] buffer, int maxlength, int &written = 0);