><a href="#val-allocate_n" class="anchor"></a><code><span><span class="keyword">val</span> allocate_n : <span><span class="optlabel">?finalise</span>:<span>(<span><span><span class="type-var">'a</span> <a href="#type-ptr">ptr</a></span> <span class="arrow">&#45;&gt;</span></span> unit)</span> <span class="arrow">&#45;&gt;</span></span> <span><span><span class="type-var">'a</span> <a href="#type-typ">typ</a></span> <span class="arrow">&#45;&gt;</span></span> <span><span class="label">count</span>:int <span c