Tries to increase the memory space of MidiShare.
![]()
pascal long MidiGrowSpace(long n);
![]()
n- the number of cells to increase the MidiShare memory space.
![]()
The result is a 32-bit integer, the number of new cells actually allocated.
Add 1000 cells to MidiShare memory space.
void TryGrowSpace(void)
{
printf( "Try to allocate 1000 cells : %ld\n", MidiGrowSpace(1000));
}
On the Atari, MidiGrowSpace can only be used from a desk accessory, and not from a normal application.