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:
parent
b3e8020c88
commit
485ac9c39d
5 changed files with 50 additions and 50 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue