Matrix Science Mascot Parser toolkit
Loading...
Searching...
No Matches
msparser_lim.hpp
1
/*
2
##############################################################################
3
# file: msparser_lim.hpp #
4
# 'msparser' toolkit #
5
# Contains definitions used in all projects #
6
##############################################################################
7
# COPYRIGHT NOTICE #
8
# Copyright 1998-2012 Matrix Science Limited All Rights Reserved. #
9
# #
10
##############################################################################
11
# $Archive:: /Mowse/ms_mascotresfile/include/msparser_lim.hpp $ #
12
# $Author: villek@matrixscience.com $ #
13
# $Date: 2019-07-19 12:20:12 +0100 $ #
14
# $Revision: e9a05e64c0974c6b7b9e18e38ad5b4430cfa45bd | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $ #
15
# $NoKeywords:: $ #
16
##############################################################################
17
*/
18
19
#ifndef MSPARSER_LIM_HPP
20
#define MSPARSER_LIM_HPP
21
22
/* Define some other values depending on the compiler / platform */
23
#ifdef _WIN32
24
#ifdef __GNUC__
25
typedef
long
long
INT64;
26
typedef
unsigned
long
long
UINT64;
27
#define FORMAT_STRING_FOR_I64 "%lld"
// checked with man pages
28
#define FORMAT_STRING_FOR_UI64 "%llu"
29
#else
30
#include <basetsd.h>
31
#ifndef SWIG
32
#define FORMAT_STRING_FOR_I64 "%I64d"
// checked with MSDN
33
#define FORMAT_STRING_FOR_UI64 "%I64u"
34
#endif
// !SWIG
35
#endif
36
#endif
37
38
#ifdef __LINUX__
39
#include <stdint.h>
40
typedef
int64_t INT64;
41
typedef
uint64_t UINT64;
42
#define FORMAT_STRING_FOR_I64 "%lld"
// checked with man pages
43
#define FORMAT_STRING_FOR_UI64 "%llu"
44
#endif
45
46
#ifdef __LINUX64__
47
#include <stdint.h>
48
typedef
int64_t INT64;
49
typedef
uint64_t UINT64;
50
#define FORMAT_STRING_FOR_I64 "%ld"
// checked with man pages
51
#define FORMAT_STRING_FOR_UI64 "%lu"
52
#endif
53
54
#ifdef SWIG_VERSION
55
namespace
matrix_science {
56
#ifdef _USE_32BIT_TIME_T
57
// See comments in "msparser.i"
58
typedef
__time64_t time_t;
59
#endif
60
}
// namespace matrix_science
61
#endif
// SWIG_VERSION
62
63
#ifdef _MSC_VER
64
#pragma warning(disable:4251)
// Don't want all classes to be exported
65
#pragma warning(disable:4786)
// Debug symbols too long
66
#endif
67
68
#ifdef _WIN32
69
# ifndef _MATRIX_USE_STATIC_LIB
70
# ifdef MS_MASCOTRESFILE_EXPORTS
71
# define MS_MASCOTRESFILE_API __declspec(dllexport)
72
# define MS_PARSERINTERNAL_API __declspec(dllexport)
73
# else
74
# define MS_MASCOTRESFILE_API __declspec(dllimport)
75
# define MS_PARSERINTERNAL_API __declspec(dllimport)
76
# endif
77
# else
78
# define MS_MASCOTRESFILE_API
79
# define MS_PARSERINTERNAL_API
80
# endif
81
#else
82
# define MS_MASCOTRESFILE_API
83
# define MS_PARSERINTERNAL_API
84
#endif
85
86
#endif
// MSPARSER_LIM_HPP
inc
msparser_lim.hpp
Generated on Tue Sep 24 2024 10:33:09 for Matrix Science Mascot Parser toolkit by
1.9.6