r40: made c++ compatible
[ctsim.git] / include / ezplot.h
index c5838c0a5bec1b765cc79d0e55e2d1e1527c82fe..988c0534e5d02a3d04f7e801c6fda61c8c25405a 100644 (file)
@@ -1,3 +1,29 @@
+/*****************************************************************************
+**  This is part of the CTSim program
+**  Copyright (C) 1983-2000 Kevin Rosenberg
+**
+**  $Id: ezplot.h,v 1.3 2000/05/07 12:46:19 kevin Exp $
+**  $Log: ezplot.h,v $
+**  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 ***
+**
+**
+**  This program is free software; you can redistribute it and/or modify
+**  it under the terms of the GNU General Public License (version 2) as
+**  published by the Free Software Foundation.
+**
+**  This program 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 this program; if not, write to the Free Software
+**  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+******************************************************************************/
 /*----------------------------------------------------------------------*/
 /*                             EZPLOT                                  */
 /*                                                                     */
@@ -6,6 +32,11 @@
 #ifndef __H_EZPLOT
 #define __H_EZPLOT
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+
 #include <stdio.h>
 #include <stddef.h>
 #include "kstddef.h"
@@ -308,4 +339,9 @@ int ezset(char *command);
 /* makefmt.c */
 void make_numfmt(char *fmtstr, int *fldwid, int *nfrac, double min, double max, int nint);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+
 #endif