diff options
author | Shashank | 2017-05-29 12:40:26 +0530 |
---|---|---|
committer | Shashank | 2017-05-29 12:40:26 +0530 |
commit | 0345245e860375a32c9a437c4a9d9cae807134e9 (patch) | |
tree | ad51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/data_structures/includes | |
download | scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2 scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip |
CMSCOPE changed
Diffstat (limited to 'modules/data_structures/includes')
3 files changed, 90 insertions, 0 deletions
diff --git a/modules/data_structures/includes/dynlib_data_structures.h b/modules/data_structures/includes/dynlib_data_structures.h new file mode 100755 index 000000000..c4e191f4b --- /dev/null +++ b/modules/data_structures/includes/dynlib_data_structures.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_DATA_STRUCTURES_H__ +#define __DYNLIB_DATA_STRUCTURES_H__ + +#ifdef _MSC_VER +#ifdef DATA_STRUCTURES_EXPORTS +#define DATA_STRUCTURES_IMPEXP __declspec(dllexport) +#else +#define DATA_STRUCTURES_IMPEXP __declspec(dllimport) +#endif +#else +#define DATA_STRUCTURES_IMPEXP +#endif + +#endif /* __DYNLIB_DATA_STRUCTURES_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/data_structures/includes/gw_data_structures1.h b/modules/data_structures/includes/gw_data_structures1.h new file mode 100755 index 000000000..be65eee1a --- /dev/null +++ b/modules/data_structures/includes/gw_data_structures1.h @@ -0,0 +1,36 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006-2008 - INRIA - 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 __GW_DATA_STRUCTURES1__ +#define __GW_DATA_STRUCTURES1__ +/*--------------------------------------------------------------------------*/ +#include "machine.h" +#include "dynlib_data_structures.h" +/*--------------------------------------------------------------------------*/ +/* it can be called by fortran mklist.f & mkindx.f */ +DATA_STRUCTURES_IMPEXP int C2F(gwdatastructures1)(void); +DATA_STRUCTURES_IMPEXP int gw_data_structures1(void); +/*--------------------------------------------------------------------------*/ +int sci_glist(char *fname, unsigned long fname_len); +int sci_scilist(char *fname, unsigned long fname_len); +int sci_lsslist(char *fname, unsigned long fname_len); +int sci_rlist(char *fname, unsigned long fname_len); +int sci_scitlist(char *fname, unsigned long fname_len); +int sci_lstcat(char *fname, unsigned long fname_len); +int sci_scimlist(char *fname, unsigned long fname_len); +int sci_definedfields(char *fname, unsigned long fname_len); +int sci_lstsize(char *fname, unsigned long fname_len); +/*--------------------------------------------------------------------------*/ +#endif /* __GW_DATA_STRUCTURES1__ */ +/*--------------------------------------------------------------------------*/ + diff --git a/modules/data_structures/includes/gw_data_structures2.h b/modules/data_structures/includes/gw_data_structures2.h new file mode 100755 index 000000000..fe3cda525 --- /dev/null +++ b/modules/data_structures/includes/gw_data_structures2.h @@ -0,0 +1,26 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006-2008 - INRIA - 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 __GW_DATA_STRUCTURES2__ +#define __GW_DATA_STRUCTURES2__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_data_structures.h" +/*--------------------------------------------------------------------------*/ +DATA_STRUCTURES_IMPEXP int gw_data_structures2(void); +/*--------------------------------------------------------------------------*/ +int sci_getfield(char *fname, unsigned long fname_len); +int sci_setfield(char *fname, unsigned long fname_len); +/*--------------------------------------------------------------------------*/ +#endif /* __GW_DATA_STRUCTURES2__ */ +/*--------------------------------------------------------------------------*/ + |