From 41372dc603662616acc21e8bacff4771a9954655 Mon Sep 17 00:00:00 2001 From: detailer Date: Fri, 2 Jul 2021 21:39:38 +0530 Subject: added support for Windows --- thirdparty/windows/include/fun.h | 95 ++++++++++++++++++++++++++++++++++++++ thirdparty/windows/lib/libfun.a | Bin 0 -> 102020 bytes thirdparty/windows/lib/libfun.dll | Bin 0 -> 18330032 bytes 3 files changed, 95 insertions(+) create mode 100644 thirdparty/windows/include/fun.h create mode 100644 thirdparty/windows/lib/libfun.a create mode 100644 thirdparty/windows/lib/libfun.dll (limited to 'thirdparty/windows') diff --git a/thirdparty/windows/include/fun.h b/thirdparty/windows/include/fun.h new file mode 100644 index 0000000..cbc8800 --- /dev/null +++ b/thirdparty/windows/include/fun.h @@ -0,0 +1,95 @@ +// Copyright (C) 2019 - IIT Bombay - FOSSEE +// +// 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-en.txt +// Author: Rupak Rokade +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + +#define fun_h__ +//extern "C" int fun (double* answ, double* in1, int in1_row, std::string name, std::string opt); + +extern "C" +{ + + /** + * @brief Enumeration for the data types suported + * + */ + typedef enum { + TYPE_DOUBLE, /**