autodoc.git
/
traditional_manual
/
chapter_10.html
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/traditional_manual/chapter_10.html:6026:
and the elements from the second stack at the top of the new stack.</p> </dd></dl> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>create</b></span> </dt>
-
<dd><p><code><span class='object'>ADT.Stack</span> <span class='class'>ADT.Stack</span><b>(</b><code class='datatype'>int</code>|<code class='datatype'>void</code> <code class='argument'>initial_size</code><b>)</b></code></p></dd>
+
<dd><p><code><span class='object'>ADT.Stack</span> <span class='class'>ADT.Stack</span><b>(</b><code class='datatype'>int
(1..)
</code>|<code class='datatype'>void</code> <code class='argument'>initial_size</code><b>)</b></code></p></dd>
<dt class='head--doc'>Description</dt> <dd class='body--doc'><p>An initial stack size can be given when a stack is cloned. The default value is 32.</p> </dd></dl> <hr /> <dl class='group--doc'>
autodoc.git/traditional_manual/chapter_10.html:6116:
if no value is given. The popped entries are not actually freed, only the stack pointer is moved.</p> </dd></dl> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>reset</b></span> </dt>
-
<dd><p><code><code class='datatype'>void</code> <b><span class='method'>reset</span>(</b><code class='datatype'>int</code>|<code class='datatype'>void</code> <code class='argument'>initial_size</code><b>)</b></code></p></dd>
+
<dd><p><code><code class='datatype'>void</code> <b><span class='method'>reset</span>(</b><code class='datatype'>int
(1..)
</code>|<code class='datatype'>void</code> <code class='argument'>initial_size</code><b>)</b></code></p></dd>
<dt class='head--doc'>Description</dt> <dd class='body--doc'><p>Empties the stack, resets the stack pointer and shrinks the stack size to the given value or 32 if none is given.</p> </dd> <dt class='head--doc'>See also</dt> <dd class='body--doc'><p><code>create</code></p> </dd></dl>
autodoc.git/traditional_manual/chapter_10.html:6886:
<dd class='body--doc'><p>Create a new buffer, optionally initialized with the value <code>s</code>.</p> </dd></dl> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>get_bignum</b></span> </dt>
-
<dd><p><code><code class='object unresolved'>Gmp.mpz</code> <b><span class='method'>get_bignum</span>(</b><code class='datatype'>int</code>|<code class='datatype'>void</code> <code class='argument'>len</code><b>)</b></code></p></dd>
+
<dd><p><code><code class='object unresolved'>Gmp.mpz</code> <b><span class='method'>get_bignum</span>(</b><code class='datatype'>int
(1..)
</code>|<code class='datatype'>void</code> <code class='argument'>len</code><b>)</b></code></p></dd>
<dt class='head--doc'>Description</dt> <dd class='body--doc'><p>Reads a bignum written by <code>put_bignum</code> from the buffer.</p> </dd></dl> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>get_fix_string</b></span>
autodoc.git/traditional_manual/chapter_10.html:7005:
<dt class='head--doc'>Description</dt> <dd class='body--doc'><p>Return all the data in the buffer and empties it.</p> </dd></dl> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>put_bignum</b></span> </dt>
-
<dd><p><code><code class='object unresolved'>this_program</code> <b><span class='method'>put_bignum</span>(</b><code class='object unresolved'>Gmp.mpz</code> <code class='argument'>i</code>, <code class='datatype'>int(
0
..)</code>|<code class='datatype'>void</code> <code class='argument'>len_width</code><b>)</b></code></p></dd>
+
<dd><p><code><code class='object unresolved'>this_program</code> <b><span class='method'>put_bignum</span>(</b><code class='object unresolved'>Gmp.mpz</code> <code class='argument'>i</code>, <code class='datatype'>int(
1
..)</code>|<code class='datatype'>void</code> <code class='argument'>len_width</code><b>)</b></code></p></dd>
<dt class='head--doc'>Description</dt> <dd class='body--doc'><p>Appends a bignum <code>i</code> as a variable string preceded with an unsigned integer of the size <code>len_width</code> declaring the length of the string. <code>len_width</code> defaults to 2.</p> </dd></dl> <hr /> <dl class='group--doc'>