func_system_memextend.rst 517 B

1234567891011121314151617181920212223242526272829303132333435
  1. .. _func_system_memextend:
  2. =========
  3. MemExtend
  4. =========
  5. MemExtend -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. MemExtend:Byte Ptr( mem:Byte Ptr,size,new_size )
  10. Extend a block of memory
  11. An existing block of memory specified by @mem and @size is copied into a new block
  12. of memory @new_size bytes long. The existing block is released and the new block is returned.
  13. Parameters
  14. ==========
  15. Return Values
  16. =============
  17. A new block of memory @new_size bytes long
  18. Examples
  19. ========
  20. See Also
  21. ========