GEL  0.99
gel_memory_plugin.h File Reference
#include <gel/common.h>

Go to the source code of this file.

Functions

__BEGIN_DECLS gel_memory_image_tgel_init_memory_image (gel_env_t *env, gel_block_t **blocks, int nb_block)
 
void gel_free_image_memory (gel_memory_image_t *memory)
 

Function Documentation

◆ gel_free_image_memory()

void gel_free_image_memory ( gel_memory_image_t memory)

Lib�re proprement l'espace memoire occupee par une structure gel_memory_image_t

Parameters
memorypointeur vers le gel_memory_image_t a liberer

◆ gel_init_memory_image()

__BEGIN_DECLS gel_memory_image_t* gel_init_memory_image ( gel_env_t env,
gel_block_t **  blocks,
int  nb_block 
)

Initialize the memory with blocks whose size multiple of cluster size (as specified in the environment) according to the libraries to implement in memory.

Parameters
envenvironment
blocksarray to file to load descriptors (their virtual address should have been computed)
nb_blocknumber of blocks to allocate in memory.