home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftptest.leeds.ac.uk
/
2015.02.ftptest.leeds.ac.uk.tar
/
ftptest.leeds.ac.uk
/
bionet
/
CAE-GROUP
/
SCL-WIN3x
/
FED_PLUS.EXE
/
BASIC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-25
|
3KB
|
125 lines
#ifndef BASIC_H
#define BASIC_H
/* $Id: basic.h,v 1.6 1994/05/11 19:51:39 libes Exp $ */
/*
* This work was supported by the United States Government, and is
* not subject to copyright.
*
* $Log: basic.h,v $
* Revision 1.6 1994/05/11 19:51:39 libes
* numerous fixes
*
* Revision 1.5 1993/10/15 18:49:23 libes
* CADDETC certified
*
* Revision 1.4 1993/03/22 18:07:15 libes
* deleted MIN/MAX. Not used, and wrong to boot.
*
* Revision 1.3 1993/01/19 22:45:07 libes
* *** empty log message ***
*
* Revision 1.2 1992/08/18 17:15:40 libes
* rm'd extraneous error messages
*
* Revision 1.1 1992/05/28 03:56:02 libes
* Initial revision
*
* Revision 1.3 1992/02/12 07:06:15 libes
* do sub/supertype
*
* Revision 1.2 1992/02/09 00:47:45 libes
* does ref/use correctly
*
* Revision 1.1 1992/02/05 08:40:30 libes
* Initial revision
*
* Revision 1.1 1992/01/22 02:17:49 libes
* Initial revision
*
* Revision 1.5 1992/01/15 19:49:04 shepherd
* Commented out text after #else and #endif.
*
* Revision 1.2 91/01/14 13:34:14 silver
* moeimodified to remove ANSI C compiler warning messages from the
* preprocessor directives.
*
* Revision 1.1 91/01/09 15:25:16 laurila
* Initial revision
*
* Revision 1.3 90/09/25 10:01:36 clark
* Beta checkin at SCRA
*
* Revision 1.3 90/09/25 10:01:36 clark
* Put wrapper around static_inline stuff,
* checking for previous definition.
*
* Revision 1.2 90/09/04 15:05:51 clark
* BPR 2.1 alpha
*
* Revision 1.1 90/06/11 17:04:56 clark
* Initial revision
*
*/
#include <stdio.h>
/******************************/
/* type Boolean and constants */
/******************************/
typedef enum Boolean{ false, true} Boolean;
/************************/
/* Generic pointer type */
/************************/
typedef char* Generic;
/* other handy macros */
#define streq(x,y) (!strcmp((x),(y)))
/**************************/
/* function pointer types */
/**************************/
typedef void (*voidFuncptr)();
typedef int (*intFuncptr)();
/******************************/
/* deal with inline functions */
/******************************/
#define static_inline static __inline
#define supports_inline_functions 1L
/* allow same declarations to suffice for both Standard and Classic C */
/* ... at least in header files ... */
#define CONST const
#define PROTO(x) ()
/* pacify IBM's c89 */
#define _POSIX_SOURCE
/* backward compatibility */
typedef char *String;
#define STRINGequal(x,y) (0 == strcmp((x),(y)))
#endif /* */