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, projet Cristal, INRIA Rocquencourt */
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
1999-11-17 10:59:06 -08:00
|
|
|
/* en Automatique. All rights reserved. This file is distributed */
|
2001-12-07 05:41:02 -08:00
|
|
|
/* under the terms of the GNU Library General Public License, with */
|
|
|
|
/* the special exception on linking described in file ../LICENSE. */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
/* Interface with C primitives. */
|
|
|
|
|
|
|
|
#ifndef _prims_
|
|
|
|
#define _prims_
|
|
|
|
|
|
|
|
typedef value (*c_primitive)();
|
|
|
|
|
2001-08-28 07:47:48 -07:00
|
|
|
extern c_primitive builtin_cprim[];
|
|
|
|
extern char * names_of_builtin_cprim[];
|
|
|
|
|
|
|
|
extern struct ext_table prim_table;
|
|
|
|
|
|
|
|
#define Primitive(n) ((c_primitive)(prim_table.contents[n]))
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
#endif /* _prims_ */
|