From 351e406f85c7ad4db3f830d0afae8c1cc4d5c2e4 Mon Sep 17 00:00:00 2001 From: 42 <33488710+FortyTwoFortyTwo@users.noreply.github.com> Date: Wed, 13 Nov 2019 08:26:36 +0000 Subject: [PATCH] Fix ArrayStack.Pop documentation (#1099) --- plugins/include/adt_stack.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/adt_stack.inc b/plugins/include/adt_stack.inc index 9e2bfe2b..94af6a7f 100644 --- a/plugins/include/adt_stack.inc +++ b/plugins/include/adt_stack.inc @@ -84,7 +84,7 @@ methodmap ArrayStack < Handle // @param block Optionally specify which block to read from // (useful if the blocksize > 0). // @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. public native any Pop(int block=0, bool asChar=false); @@ -92,7 +92,7 @@ methodmap ArrayStack < Handle // // @param buffer Buffer to store string. // @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. // @error The stack is empty. public native void PopString(char[] buffer, int maxlength, int &written = 0);