3
0
Fork 0
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:
Nikolaj Bjorner 2022-01-12 02:47:39 -08:00
parent e5eaea46aa
commit 2bcc814031
2 changed files with 12 additions and 9 deletions

View file

@ -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