** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: kmath.h,v 1.7 2000/05/04 18:16:34 kevin Exp $
+** $Id: kmath.h,v 1.8 2000/05/07 12:46:19 kevin Exp $
** $Log: kmath.h,v $
+** Revision 1.8 2000/05/07 12:46:19 kevin
+** made c++ compatible
+**
** Revision 1.7 2000/05/04 18:16:34 kevin
** renamed filter definitions
**
#include <stdio.h>
#include <math.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#define PI 3.14159265358979323846
#define HALFPI 1.57079632679489661923 /* PI divided by 2 */
#define QUARTPI 0.78539816339744830962 /* PI divided by 4 */
void xlat2d(double x[], double y[], int pts, double xoffset, double yoffset);
void scale2d(double x[], double y[], int pts, double xfact, double yfact);
-
-
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
#endif