summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-08-04 16:14:41 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-10-11 15:38:09 +0100
commitc9834452a55de7e55301fa95ffdf8768694400b3 (patch)
tree520fc39685052c74b75a7f2ec7172c21fb4d6ac6
parent28e07bd6fb75d36ac0ee230b894adad9bc6760d4 (diff)
downloadregularization-c9834452a55de7e55301fa95ffdf8768694400b3.tar.gz
regularization-c9834452a55de7e55301fa95ffdf8768694400b3.tar.bz2
regularization-c9834452a55de7e55301fa95ffdf8768694400b3.tar.xz
regularization-c9834452a55de7e55301fa95ffdf8768694400b3.zip
extern C fix
-rw-r--r--main_func/regularizers_CPU/utils.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/main_func/regularizers_CPU/utils.h b/main_func/regularizers_CPU/utils.h
index c720006..53463a3 100644
--- a/main_func/regularizers_CPU/utils.h
+++ b/main_func/regularizers_CPU/utils.h
@@ -3,7 +3,7 @@ This work is part of the Core Imaging Library developed by
Visual Analytics and Imaging System Group of the Science Technology
Facilities Council, STFC
-Copyright 2017 Daniil Kazanteev
+Copyright 2017 Daniil Kazantsev
Copyright 2017 Srikanth Nagella, Edoardo Pasca
Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,11 +17,16 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-#include <matrix.h>
-#include <math.h>
+//#include <matrix.h>
+//#include <math.h>
#include <stdlib.h>
#include <memory.h>
-#include <stdio.h>
+//#include <stdio.h>
#include "omp.h"
-
+#ifdef __cplusplus
+extern "C" {
+#endif
float copyIm(float *A, float *U, int dimX, int dimY, int dimZ);
+#ifdef __cplusplus
+}
+#endif