summaryrefslogtreecommitdiffstats
path: root/main_func
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-08-04 16:14:41 +0100
commita826abfb7587bd712ae9fd8d59a206d22e8da3ab (patch)
tree60adb0e73e999b2d61be6321cf18ed6499a735e4 /main_func
parent7555e87dceba139655112063b4ab6c01331099f3 (diff)
downloadregularization-a826abfb7587bd712ae9fd8d59a206d22e8da3ab.tar.gz
regularization-a826abfb7587bd712ae9fd8d59a206d22e8da3ab.tar.bz2
regularization-a826abfb7587bd712ae9fd8d59a206d22e8da3ab.tar.xz
regularization-a826abfb7587bd712ae9fd8d59a206d22e8da3ab.zip
extern C fix
Diffstat (limited to 'main_func')
-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