/*
** mg_conv.h for  in 
** 
** Made by 
** Login   <vianney@epita.fr>
** 
** Started on  Thu Sep 16 12:25:17 1999 
** Last update Thu Oct 28 20:18:11 1999 
*/
#ifndef MG_CONV_H
#define MG_CONV_H	1

#include "mg.h"

#ifdef DEBUG_MALLOC
# include "gdm.h"
# define MG_ALLOC_ALGORITHM	gdm_alloc_algorithm
# define MG_ALLOC_PROC		gdm_alloc
# define MG_REALLOC_PROC	gdm_realloc
# define MG_FREE_PROC		gdm_free
#else
# define MG_ALLOC_ALGORITHM	alloc_algorithm_factor2
# define MG_ALLOC_PROC		alloc_malloc
# define MG_REALLOC_PROC	realloc_realloc
# define MG_FREE_PROC		free_free
#endif

#define MG_DICT_NEW(HashBase,VecBase,StatusPtr)	dict_new((HashBase),\
							 (VecBase),\
						      dict_hash_code_public,\
							 MG_ALLOC_ALGORITHM,\
							 MG_ALLOC_PROC,\
							 MG_REALLOC_PROC,\
							 MG_FREE_PROC,\
							 "mg_dict",\
							 (StatusPtr))

#endif
