File: [local] / OpenXM_contrib / gnuplot / Attic / fit.h (download)
Revision 1.1.1.2 (vendor branch), Sat Jan 22 14:15:55 2000 UTC (24 years, 5 months ago) by maekawa
Branch: GNUPLOT
CVS Tags: maekawa-ipv6, VERSION_3_7_1, RELEASE_20000124, RELEASE_1_2_2, RELEASE_1_2_1, RELEASE_1_1_3, RELEASE_1_1_2 Changes since 1.1.1.1: +1 -1
lines
Import gnuplot 3.7.1
|
/* $Id: fit.h,v 1.9 1998/10/28 21:08:54 lhecking Exp $ */
/*
* Header file: public functions in fit.c
*
*
* Copyright of this module: Carsten Grammes, 1993
* Experimental Physics, University of Saarbruecken, Germany
*
* Internet address: cagr@rz.uni-sb.de
*
* Permission to use, copy, and distribute this software and its
* documentation for any purpose with or without fee is hereby granted,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
*
* This software is provided "as is" without express or implied warranty.
*/
#ifndef FIT_H /* avoid multiple inclusions */
#define FIT_H
#ifdef EXT
#undef EXT
#endif
#ifdef FIT_MAIN
#define EXT
#else
#define EXT extern
#endif
#include "plot.h"
#include "ansichek.h"
#define FIT_SKIP "FIT_SKIP"
EXT char *fit_index;
EXT char fitbuf[256];
/*****************************************************************
Useful macros
We avoid any use of varargs/stdargs (not good style but portable)
*****************************************************************/
#define Dblf(a) {fprintf (STANDARD,a); fprintf (log_f,a);}
#define Dblf2(a,b) {fprintf (STANDARD,a,b); fprintf (log_f,a,b);}
#define Dblf3(a,b,c) {fprintf (STANDARD,a,b,c); fprintf (log_f,a,b,c);}
#define Dblf5(a,b,c,d,e) \
{fprintf (STANDARD,a,b,c,d,e); fprintf (log_f,a,b,c,d,e);}
#define Dblf6(a,b,c,d,e,f) \
{fprintf (STANDARD,a,b,c,d,e,f); fprintf (log_f,a,b,c,d,e,f);}
#define Eex(a) {sprintf (fitbuf+9, (a)); error_ex ();}
#define Eex2(a,b) {sprintf (fitbuf+9, (a),(b)); error_ex ();}
#define Eex3(a,b,c) {sprintf (fitbuf+9, (a),(b),(c)); error_ex ();}
EXT void error_ex __PROTO((void));
#endif