3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

add macro for converting std::vectors to pointers (leaking abstraction)

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-12-01 16:35:03 -08:00
parent b3e8020c88
commit 485ac9c39d
5 changed files with 50 additions and 50 deletions

View file

@ -59,6 +59,7 @@ COMPILE_TIME_ASSERT(sizeof(int64) == 8);
#define SPRINTF sprintf
#endif
#define VEC2PTR(_x_) ((_x_).size() ? &(_x_)[0] : 0)
#ifdef _WINDOWS
// Disable thread local declspec as it seems to not work downlevel.