~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to routines/libcomm/gestion_memoire.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**********************************************************/
 
2
/* Ce fichier defini les methodes d'allocation de memoire */
 
3
/**********************************************************/
 
4
 
 
5
#ifndef _GESTION_MEMOIRE_
 
6
#define _GESTION_MEMOIRE_
 
7
 
 
8
#include "../machine.h"
 
9
 
 
10
/* Macros ameliorants la lisibilite du programme */
 
11
#define allouer_type(type,nbre) ((type *)allouer((nbre)*sizeof(type)))
 
12
#define reallouer_type(type,buffer,nbre) ((type *)reallouer(buffer,(nbre)*sizeof(type)))
 
13
 
 
14
extern void *allouer __PARAMS((long int taille));
 
15
extern void *reallouer __PARAMS((void *buffer, long int taille));
 
16
extern void liberer __PARAMS((void *buffer));
 
17
 
 
18
#endif