summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/swig.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/bindings/swig.h b/src/bindings/swig.h
index f73ddd9bb..053cb7172 100644
--- a/src/bindings/swig.h
+++ b/src/bindings/swig.h
@@ -26,15 +26,9 @@
#endif /* SWIG_VERSION */
%import "cvc4_public.h"
-#warning "Working around a SWIG segfault in C++ template parsing."
-//%import "base/tls.h"
-#define CVC4_THREADLOCAL(__type...) __type
-#define CVC4_THREADLOCAL_PUBLIC(__type...) CVC4_PUBLIC __type
-#define CVC4_THREADLOCAL_TYPE(__type...) __type
+%import "base/tls.h"
-// swig doesn't like the __thread storage class...
-#define __thread
-// ...or GCC attributes
+// swig doesn't like GCC attributes
#define __attribute__(x)
#endif /* __CVC4__BINDINGS__SWIG_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback