r40: made c++ compatible
[ctsim.git] / include / sdf.h
index be1c7932d857ce503191f84be8988ef4023d051e..a1585506602cf05c1c056386bb44d8c9f26dba17 100644 (file)
@@ -2,8 +2,11 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: sdf.h,v 1.2 2000/04/28 14:14:16 kevin Exp $
+**  $Id: sdf.h,v 1.3 2000/05/07 12:46:19 kevin Exp $
 **  $Log: sdf.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 ***
 **
@@ -34,6 +37,9 @@
 
 #include "kmath.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
 
 /*----------------*/
 /* SYSTEM ALIASES */
@@ -338,4 +344,8 @@ char *sdf_2d_alloc_row(const int nrow, SDF_2D *imp);
 char *sdf_2d_alloc_col(const int ncol, SDF_2D *imp);
 void sdf_2d_error(const SDF_2D *imp, const char *str, ...);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif