DeskLib 2.90a:Module.h


Contents


Introduction and Overview

This header declares a pair of veneers for claiming memory from the RMA and releasing it again.


Functions


Module_Claim

os_error * Module_Claim(unsigned size, void **block);

This function claims an area of RMA space of the size specified and returns a pointer to it in *block. If the function is successful it returns NULL.


Module_Free

os_error * Module_Free(void *block);

This function releases a block of RMA space previously claimed using Module_Claim. block is the pointer to this block.