Skip to content
Permalink
Browse files

Fix ArrayStack.Pop documentation (#1099)

  • Loading branch information
FortyTwoFortyTwo authored and Headline committed Nov 13, 2019
1 parent d6e5188 commit 351e406f85c7ad4db3f830d0afae8c1cc4d5c2e4
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/include/adt_stack.inc
@@ -84,15 +84,15 @@ 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);

// Pops a string value from a stack.
//
// @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);

0 comments on commit 351e406

Please sign in to comment.
You can’t perform that action at this time.