mirror of
https://github.com/Z3Prover/z3
synced 2025-05-08 00:05:46 +00:00
add macro to track closures declared in z3_api
This is to ease integration with external API wrappers that rely on accessing information about type names that are used. #5762
This commit is contained in:
parent
e5eaea46aa
commit
2bcc814031
2 changed files with 12 additions and 9 deletions
|
@ -16,3 +16,7 @@ Copyright (c) 2015 Microsoft Corporation
|
|||
#ifndef DEFINE_TYPE
|
||||
#define DEFINE_TYPE(T) typedef struct _ ## T *T
|
||||
#endif
|
||||
|
||||
#ifndef Z3_DECLARE_CLOSURE
|
||||
#define Z3_DECLARE_CLOSURE(_NAME_,_RETURN_,_ARGS_) typedef _RETURN_ _NAME_ _ARGS_
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue