2 ; Ullrich von Bassewitz, 2004-07-17
4 ; size_t __fastcall__ _heapblocksize (const void* ptr);
6 ; Return the size of an allocated block.
10 .export __heapblocksize
14 ;-----------------------------------------------------------------------------
19 ; Decrement the block pointer so it points to the admin data
22 sbc #HEAP_ADMIN_SPACE ; Assume it's less than 256
28 ; Load the size from the given block