Mercurial > pub > dyncall > dyncall
comparison test/plain_c++/test_main.cc @ 612:086362f4ae3f
- test/plain_c++: reintroduced an empty __cdecl define for portability
author | Tassilo Philipp |
---|---|
date | Thu, 29 Sep 2022 13:31:30 +0200 |
parents | d94b053311a7 |
children |
comparison
equal
deleted
inserted
replaced
611:d94b053311a7 | 612:086362f4ae3f |
---|---|
122 \ | 122 \ |
123 private: \ | 123 private: \ |
124 ValueUnion mValue; \ | 124 ValueUnion mValue; \ |
125 }; | 125 }; |
126 | 126 |
127 | |
128 #if defined(DC__Arch_Intel_x86) && !defined(DC__C_MSVC) && !defined(__cdecl) | |
129 # define __cdecl | |
130 #endif | |
131 | |
132 | |
127 TEST_CLASS(ValueThisDef, /*empty/default*/) /* default */ | 133 TEST_CLASS(ValueThisDef, /*empty/default*/) /* default */ |
128 #if defined(DC__Arch_Intel_x86) | 134 #if defined(DC__Arch_Intel_x86) |
129 TEST_CLASS(ValueThisCdecl, __cdecl) /* methods explicitly declared as cdecl */ | 135 TEST_CLASS(ValueThisCdecl, __cdecl) /* methods explicitly declared as cdecl */ |
130 #if defined(DC__OS_Win32) && defined(DC__C_MSVC) | 136 #if defined(DC__OS_Win32) && defined(DC__C_MSVC) |
131 TEST_CLASS(ValueThisMS, /*empty/default*/) /* microsoft this call */ | 137 TEST_CLASS(ValueThisMS, /*empty/default*/) /* microsoft this call */ |