home *** CD-ROM | disk | FTP | other *** search
- PROCshell_HeapBlockReturn()
- Params =>
- int address of heap block
-
- Releases the given heap block, returning memory to
- the free pool.
-
- --------------------------------------------------------
-
- PROCshell_HeapBlockInit()
- Params =>
- None
-
- --------------------------------------------------------
-
- FNshell_HeapBlockExtend()
- Params =>
- int address of heap block
- int amount to increase or decrease block size by
- (-ve to decrease)
-
- <=
- int address of heap block
-
- Increases or decreases the size of the given heap block
- which must have been allocated with FNshell_HeapBlockFetch.
- Note that the heap block may be moved to make it fit so you
- should always use the returned value for the heap block
- address after this call.
-
- --------------------------------------------------------
-
- FNshell_HeapBlockFetch()
- Params =>
- int size of block to fetch from heap
-
- <=
- int address of heapblock allocated
-
- Returns address of heapblock or causes an "Out
- of memory" error if the block cannot be
- allocated.
-
- --------------------------------------------------------
-
- FNshell_HeapBlockInfo()
- Params =>
- int address of heap block
-
- <=
- int size of heap block (Note that this
- is larger than the size requested
- with FNshell_HeapBlockFetch)
-
- --------------------------------------------------------
-
- PROCshell_HeapManagerInit
- Params =>
- str path to directory containing the
- 'heapcode' file
- int address of heap manager workspace
-
- This routine must be called before PROCshell_Init.
-
- --------------------------------------------------------
-
- FNshell_HeapBlockExists()
- Params =>
- int address to check
-
- <=
- bool TRUE or FALSE
-
- This routine returns TRUE if a heapblock is present
- at the specified address, FALSE otherwise.
-
- --------------------------------------------------------
-
- PROCshell_MemFill()
- Params =>
- int start address
- int number of bytes
- int byte value to fill with
-
- --------------------------------------------------------
-
- FNshell_HeapBlockExtendMid()
- => int address of heap block
- int amount to increase or decrease block size by
- (-ve to decrease)
- int offset at which to extend block
-
- <= int address of heap block
-
- Increases or decreases the size of the given heap block
- which must have been allocated with <FNshell_HeapBlockFetch>.
- Note that the heap block may be moved to make it fit so you
- should always use the returned value for the heap block
- address after this call.
-
- --------------------------------------------------------