]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/byte_arrays.hpp
webapps.wiki: adding search bar
[factor.git] / vm / byte_arrays.hpp
index 00c94c0d2450e1fb12fd2d3ddad3eadc76826c9b..2978d94de1f4c22cc61b88431351684e686daa6a 100644 (file)
@@ -8,6 +8,7 @@ struct growable_byte_array {
   growable_byte_array(factor_vm* parent, cell capacity = 40)
       : count(0), elements(parent->allot_byte_array(capacity), parent) {}
 
+  void reallot_array(cell count);
   void grow_bytes(cell len);
   void append_bytes(void* elts, cell len);
   void append_byte_array(cell elts);