projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r63: Removed unused bspline option
[ctsim.git]
/
include
/
ezplot.h
diff --git
a/include/ezplot.h
b/include/ezplot.h
index 26a4c34c09ae15e4bdfb94633c6df8233c2c4d76..4494f01470613349566cc8a1e5f922588867fe5a 100644
(file)
--- a/
include/ezplot.h
+++ b/
include/ezplot.h
@@
-2,8
+2,14
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ezplot.h,v 1.
2 2000/04/28 14:14:16
kevin Exp $
+** $Id: ezplot.h,v 1.
4 2000/05/24 22:48:17
kevin Exp $
** $Log: ezplot.h,v $
** $Log: ezplot.h,v $
+** Revision 1.4 2000/05/24 22:48:17 kevin
+** First functional version of SDF library for X-window
+**
+** Revision 1.3 2000/05/07 12:46:19 kevin
+** made c++ compatible
+**
** Revision 1.2 2000/04/28 14:14:16 kevin
** *** empty log message ***
**
** Revision 1.2 2000/04/28 14:14:16 kevin
** *** empty log message ***
**
@@
-29,6
+35,11
@@
#ifndef __H_EZPLOT
#define __H_EZPLOT
#ifndef __H_EZPLOT
#define __H_EZPLOT
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+
#include <stdio.h>
#include <stddef.h>
#include "kstddef.h"
#include <stdio.h>
#include <stddef.h>
#include "kstddef.h"
@@
-318,17
+329,26
@@
extern bool ezplot_firstcall; /* set to false on first call to EZSET or EZPLOT
/* axis.c */
/* axis.c */
-int axis_scale(double min, double max, int nint, double *minp, double *maxp, int *nintp);
+int axis_scale (double min, double max, int nint, double *minp, double *maxp, int *nintp);
+
/* ezplot.c */
/* ezplot.c */
-
int
ezplot(double x[], double y[], int num);
+
SGP_ID
ezplot(double x[], double y[], int num);
void ezinit(void);
void ezfree(void);
void ezclear(void);
void ezinit(void);
void ezfree(void);
void ezclear(void);
+
/* ezplot1d.c */
void ezplot_1d(double *y, int n);
/* ezplot1d.c */
void ezplot_1d(double *y, int n);
+
/* ezset.c */
int ezset(char *command);
/* ezset.c */
int ezset(char *command);
+
/* makefmt.c */
void make_numfmt(char *fmtstr, int *fldwid, int *nfrac, double min, double max, int nint);
/* makefmt.c */
void make_numfmt(char *fmtstr, int *fldwid, int *nfrac, double min, double max, int nint);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+
#endif
#endif