home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
may94
/
util
/
edit
/
jade.lha
/
Jade
/
src
/
jade.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-19
|
2KB
|
79 lines
/* jade.h -- Main include file, brings in all the rest
Copyright (C) 1993, 1994 John Harper <jsh@ukc.ac.uk>
This file is part of Jade.
Jade is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
Jade is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Jade; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef _JADE_H
#define _JADE_H
#include <sys/types.h>
#include <stdio.h>
typedef char bool;
#include "value.h"
/* This should be either a link to the target systems config.h.X file
in configs/ or a file containing whatever your system needs. */
#include "config.h"
#ifndef HAVE_X11
# ifndef HAVE_AMIGA
you lose!
# endif
#endif
#include "edit.h"
#include "lisp.h"
#include "doc-strings.h"
#include "keys.h"
#include "stringmem.h"
/* Some macros for using MinLists */
#define AddMTail(l,n) AddTail((struct List *)l, (struct Node *)n)
#define InsertM(l,n,ln) Insert((struct List *)l, (struct Node *)n, (struct Node *)ln)
#define RemoveM(n) Remove((struct Node *)n)
#define NewMList(l) NewList((struct List *)l)
#define IsMListEmpty(l) IsListEmpty((struct List *)l)
#define IsLastMNode(n) (!((n)->mln_Succ))
#ifndef _PR
# define _PR extern
#endif
#ifndef INLINE
# ifdef __GNUC__
# define INLINE __inline__
# else
# define INLINE
# endif
#endif
#ifndef NULL
# define NULL ((void *)0)
#endif
#ifndef TRUE
# define TRUE (1)
#endif
#ifndef FALSE
# define FALSE (0)
#endif
#endif /* _JADE_H */