2004-07-16 02:26:21 -04:00
|
|
|
#ifndef __FACTOR_H__
|
|
|
|
#define __FACTOR_H__
|
|
|
|
|
2004-07-18 22:14:36 -04:00
|
|
|
#include <errno.h>
|
2004-07-24 00:54:57 -04:00
|
|
|
#include <fcntl.h>
|
2004-07-27 22:52:35 -04:00
|
|
|
#include <limits.h>
|
2004-08-06 18:40:44 -04:00
|
|
|
#include <math.h>
|
2004-07-16 02:26:21 -04:00
|
|
|
#include <setjmp.h>
|
2004-08-16 21:05:38 -04:00
|
|
|
#include <signal.h>
|
2004-07-16 02:26:21 -04:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2004-08-12 01:07:22 -04:00
|
|
|
#include <sys/mman.h>
|
2004-07-23 18:52:08 -04:00
|
|
|
#include <sys/param.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <netinet/in.h>
|
2004-07-24 17:37:42 -04:00
|
|
|
#include <arpa/inet.h>
|
2004-07-24 00:54:57 -04:00
|
|
|
#include <unistd.h>
|
2004-08-04 03:12:55 -04:00
|
|
|
#include <sys/time.h>
|
2004-08-18 15:23:42 -04:00
|
|
|
#include <netdb.h>
|
2004-07-16 02:26:21 -04:00
|
|
|
|
|
|
|
#define INLINE inline static
|
|
|
|
|
|
|
|
/* CELL must be 32 bits and your system must have 32-bit pointers */
|
2004-07-28 19:02:24 -04:00
|
|
|
typedef unsigned long int CELL;
|
2004-07-16 02:26:21 -04:00
|
|
|
#define CELLS sizeof(CELL)
|
|
|
|
|
|
|
|
/* must always be 16 bits */
|
2004-07-27 21:12:22 -04:00
|
|
|
typedef unsigned short CHAR;
|
2004-07-16 02:26:21 -04:00
|
|
|
#define CHARS sizeof(CHAR)
|
|
|
|
|
|
|
|
/* Memory heap size */
|
2004-08-20 01:49:14 -04:00
|
|
|
#define DEFAULT_ARENA (5 * 1024 * 1024)
|
2004-08-12 01:07:22 -04:00
|
|
|
|
2004-08-12 23:40:28 -04:00
|
|
|
#define STACK_SIZE 16384
|
2004-07-16 02:26:21 -04:00
|
|
|
|
|
|
|
#include "error.h"
|
|
|
|
#include "memory.h"
|
|
|
|
#include "gc.h"
|
|
|
|
#include "types.h"
|
|
|
|
#include "array.h"
|
2004-08-05 15:18:31 -04:00
|
|
|
#include "word.h"
|
|
|
|
#include "run.h"
|
2004-07-24 15:11:55 -04:00
|
|
|
#include "fixnum.h"
|
2004-07-27 21:12:22 -04:00
|
|
|
#include "bignum.h"
|
2004-08-04 22:43:58 -04:00
|
|
|
#include "ratio.h"
|
2004-08-05 16:49:55 -04:00
|
|
|
#include "float.h"
|
2004-08-05 20:29:52 -04:00
|
|
|
#include "complex.h"
|
2004-07-28 19:02:24 -04:00
|
|
|
#include "arithmetic.h"
|
2004-08-04 03:12:55 -04:00
|
|
|
#include "misc.h"
|
2004-08-12 23:40:28 -04:00
|
|
|
#include "relocate.h"
|
2004-07-24 15:11:55 -04:00
|
|
|
#include "string.h"
|
2004-08-12 23:40:28 -04:00
|
|
|
#include "sbuf.h"
|
2004-08-12 17:36:36 -04:00
|
|
|
#include "port.h"
|
2004-08-20 01:49:14 -04:00
|
|
|
#include "iomux.h"
|
|
|
|
#include "read.h"
|
|
|
|
#include "write.h"
|
2004-07-24 00:54:57 -04:00
|
|
|
#include "file.h"
|
2004-08-12 17:36:36 -04:00
|
|
|
#include "socket.h"
|
2004-07-16 02:26:21 -04:00
|
|
|
#include "cons.h"
|
|
|
|
#include "image.h"
|
|
|
|
#include "primitives.h"
|
|
|
|
#include "vector.h"
|
|
|
|
#include "stack.h"
|
|
|
|
|
|
|
|
#endif /* __FACTOR_H__ */
|