updating oE free


include eumem.e 
namespace eumem 
export procedure free(atom mem_p) 

deallocates a block of (pseudo) memory.

  1. mem_p : The handle to a previously acquired ram_space location.

This allows the location to be used by other parts of your application. You should no longer access this location again because it could be acquired by some other process in your application. This routine should only be called if you passed zero as cleanup_p to malloc.

Example 1:
 my_spot = malloc(1,0) 
 ram_space[my_spot] = my_data 
     -- . . . do some processing  . . .  
Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu