ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
Misc.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2//
3// This file is part of ETISS. It is licensed under the BSD 3-Clause License; you may not use this file except in
4// compliance with the License. You should have received a copy of the license along with this project. If not, see the
5// LICENSE file.
22#ifndef ETISS_INCLUDE_HELPER_MISC_H_
23#define ETISS_INCLUDE_HELPER_MISC_H_
24
25#include "etiss/pluginexport.h"
26#include <map>
27#include <string>
28
29#include "etiss/config.h"
30
31#define etiss_helper_merge_l2(X1, X2) X1##X2
32#define etiss_helper_merge(X1, X2) etiss_helper_merge_l2(X1, X2)
33
34extern "C"
35{
36
45}
46
47#define ETISS_LIBRARYIF_VERSION_FUNC_IMPL \
48 ETISS_PLUGIN_EXPORT unsigned etiss_helper_merge(ETISS_LIBNAME, _etissversion)() \
49 { \
50 return (ETISS_VERSION_MAJOR << 16) + (ETISS_VERSION_MINOR); \
51 }
52
53#endif
#define ETISS_LIBNAME
contains defines to configure ETISS.
#define ETISS_PLUGIN_EXPORT
#define etiss_helper_merge(X1, X2)
Definition Misc.h:32