From 3e68057293442d0e1540fd7f09356f6f04ab7766 Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Sat, 16 Oct 2010 20:28:43 +0200 Subject: [PATCH] ENH: don't need C interface for otblibsvm since we use C++ in the patches --- Utilities/otbsvm/svm.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Utilities/otbsvm/svm.h b/Utilities/otbsvm/svm.h index 9aa6fab3aa..b6dfa23748 100644 --- a/Utilities/otbsvm/svm.h +++ b/Utilities/otbsvm/svm.h @@ -11,9 +11,11 @@ class GenericKernelFunctorBase; class ComposedKernelFunctor; /*** End OTB modification ***/ -#ifdef __cplusplus -extern "C" { -#endif +/*** Begin OTB modification ***/ +//#ifdef __cplusplus +//extern "C" { +//#endif +/*** End OTB modification ***/ extern int libsvm_version; @@ -121,9 +123,11 @@ void svm_set_print_string_function(void (*print_func)(const char *)); // this function will be removed in future release void svm_destroy_model(struct svm_model *model_ptr); -#ifdef __cplusplus -} -#endif +/*** Begin OTB modification ***/ +//#ifdef __cplusplus +//} +//#endif +/*** End OTB modification ***/ /*** Begin OTB modification ***/ -- GitLab