ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Misc.h
Go to the documentation of this file.
1 
60 #ifndef ETISS_INCLUDE_HELPER_MISC_H_
61 #define ETISS_INCLUDE_HELPER_MISC_H_
62 
63 #include "etiss/pluginexport.h"
64 #include <map>
65 #include <string>
66 
67 #include "etiss/config.h"
68 
69 #define etiss_helper_merge_l2(X1, X2) X1##X2
70 #define etiss_helper_merge(X1, X2) etiss_helper_merge_l2(X1, X2)
71 
72 extern "C"
73 {
74 
83 }
84 
85 #define ETISS_LIBRARYIF_VERSION_FUNC_IMPL \
86  ETISS_PLUGIN_EXPORT unsigned etiss_helper_merge(ETISS_LIBNAME, _etissversion)() \
87  { \
88  return (ETISS_VERSION_MAJOR << 16) + (ETISS_VERSION_MINOR); \
89  }
90 
91 #endif
#define ETISS_LIBNAME
contains defines to configure ETISS.
#define ETISS_PLUGIN_EXPORT
Definition: pluginexport.h:15
#define etiss_helper_merge(X1, X2)
Definition: Misc.h:70