From 0345245e860375a32c9a437c4a9d9cae807134e9 Mon Sep 17 00:00:00 2001 From: Shashank Date: Mon, 29 May 2017 12:40:26 +0530 Subject: CMSCOPE changed --- .../includes/dynlib_special_functions.h | 28 ++++++++++++++++ .../includes/gw_special_functions.h | 38 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100755 modules/special_functions/includes/dynlib_special_functions.h create mode 100755 modules/special_functions/includes/gw_special_functions.h (limited to 'modules/special_functions/includes') diff --git a/modules/special_functions/includes/dynlib_special_functions.h b/modules/special_functions/includes/dynlib_special_functions.h new file mode 100755 index 000000000..3e4635756 --- /dev/null +++ b/modules/special_functions/includes/dynlib_special_functions.h @@ -0,0 +1,28 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) DIGITEO - 2010 - Allan CORNET +* +* This file must be used under the terms of the CeCILL. +* This source file is licensed as described in the file COPYING, which +* you should have received as part of this distribution. The terms +* are also available at +* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +* +*/ + +/*--------------------------------------------------------------------------*/ +#ifndef __DYNLIB_SPECIAL_FUNCTIONS_H__ +#define __DYNLIB_SPECIAL_FUNCTIONS_H__ + +#ifdef _MSC_VER +#ifdef SPECIAL_FUNCTIONS_EXPORTS +#define SPECIAL_FUNCTIONS_IMPEXP __declspec(dllexport) +#else +#define SPECIAL_FUNCTIONS_IMPEXP __declspec(dllimport) +#endif +#else +#define SPECIAL_FUNCTIONS_IMPEXP +#endif + +#endif /* __DYNLIB_SPECIAL_FUNCTIONS_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/special_functions/includes/gw_special_functions.h b/modules/special_functions/includes/gw_special_functions.h new file mode 100755 index 000000000..26b239ccb --- /dev/null +++ b/modules/special_functions/includes/gw_special_functions.h @@ -0,0 +1,38 @@ + +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ????-2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#ifndef __GW_SPECIAL_FUNCTIONS_H__ +#define __GW_SPECIAL_FUNCTIONS_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_special_functions.h" +/*--------------------------------------------------------------------------*/ +SPECIAL_FUNCTIONS_IMPEXP int gw_special_functions(void); +/*--------------------------------------------------------------------------*/ +int sci_besselh(char *fname, unsigned long fname_len); +int sci_besseli(char *fname, unsigned long fname_len); +int sci_besselj(char *fname, unsigned long fname_len); +int sci_besselk(char *fname, unsigned long fname_len); +int sci_bessely(char *fname, unsigned long fname_len); +int sci_beta(char *fname, unsigned long fname_len); +int sci_legendre(char *fname, unsigned long fname_len); +int sci_gamma(char *fname, unsigned long fname_len); +int sci_lgamma(char *fname, unsigned long fname_len); +int sci_dlgamma(char *fname, unsigned long fname_len); +int sci_Faddeeva_erf(char *fname, unsigned long fname_len); +int sci_Faddeeva_erfc(char *fname, unsigned long fname_len); +int sci_Faddeeva_erfcx(char *fname, unsigned long fname_len); +int sci_Faddeeva_erfi(char *fname, unsigned long fname_len); +int sci_Faddeeva_dawson(char *fname, unsigned long fname_len); +/*--------------------------------------------------------------------------*/ +#endif /* __GW_SPECIAL_FUNCTIONS_H__ */ +/*--------------------------------------------------------------------------*/ -- cgit