X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fkmath.h;fp=include%2Fkmath.h;h=e250a06d40e9a482a75501a6f3c54743e91383b1;hb=44ba0e9facc91003bf3ef32876f8b8ac5439c3c1;hp=2a8145422162a0e1cf584a5ff29ed474872a91e5;hpb=da11926c1039ae4c880915db508d69614ec7c79e;p=ctsim.git diff --git a/include/kmath.h b/include/kmath.h index 2a81454..e250a06 100644 --- a/include/kmath.h +++ b/include/kmath.h @@ -2,8 +2,11 @@ ** 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 ** @@ -47,6 +50,10 @@ #include #include +#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 */ @@ -219,7 +226,8 @@ void rotate2d(double x[], double y[], int pts, double angle); 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