Skip to content

Commit

Permalink
Fix ArrayStack.Pop documentation (#1099)
Browse files Browse the repository at this point in the history
  • Loading branch information
FortyTwoFortyTwo authored and Headline committed Nov 13, 2019
1 parent d6e5188 commit 351e406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/include/adt_stack.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 351e406

Please sign in to comment.