1995-08-09 08:06:35 -07:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Objective Caml */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/* Xavier Leroy and Damien Doligez, INRIA Rocquencourt */
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* Automatique. Distributed only by permission. */
|
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
#ifndef _alloc_
|
|
|
|
#define _alloc_
|
|
|
|
|
|
|
|
|
|
|
|
#include "misc.h"
|
|
|
|
#include "mlvalues.h"
|
|
|
|
|
|
|
|
value alloc P((mlsize_t, tag_t));
|
|
|
|
value alloc_tuple P((mlsize_t));
|
|
|
|
value alloc_string P((mlsize_t));
|
|
|
|
value alloc_final P((mlsize_t, final_fun, mlsize_t, mlsize_t));
|
|
|
|
value copy_string P((char *));
|
|
|
|
value copy_string_array P((char **));
|
|
|
|
value copy_double P((double));
|
|
|
|
value alloc_array P((value (*funct) P((char *)), char ** array));
|
|
|
|
int convert_flag_list P((value, int *));
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _alloc_ */
|