factor/native/factor.h

75 lines
1.5 KiB
C
Raw Normal View History

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>
#include <limits.h>
#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>
#include <sys/mman.h>
#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>
#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-08-26 22:21:17 -04:00
#define CELLS ((signed)sizeof(CELL))
2004-07-16 02:26:21 -04:00
/* must always be 16 bits */
typedef unsigned short CHAR;
2004-08-26 22:21:17 -04:00
#define CHARS ((signed)sizeof(CHAR))
2004-07-16 02:26:21 -04:00
/* Memory heap size */
2004-08-20 01:49:14 -04:00
#define DEFAULT_ARENA (5 * 1024 * 1024)
2004-08-12 23:40:28 -04:00
#define STACK_SIZE 16384
2004-07-16 02:26:21 -04:00
2004-08-23 01:13:09 -04:00
/* This decreases performance slightly but gives more readable backtraces,
and allows profiling. */
#define EXTRA_CALL_INFO
2004-07-16 02:26:21 -04:00
#include "memory.h"
#include "error.h"
2004-07-16 02:26:21 -04:00
#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-08-24 23:46:55 -04:00
#include "s48_bignumint.h"
#include "s48_bignum.h"
#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"
#include "port.h"
2004-08-20 01:50:59 -04:00
#include "io.h"
2004-08-20 01:49:14 -04:00
#include "read.h"
#include "write.h"
2004-07-24 00:54:57 -04:00
#include "file.h"
#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__ */