diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-09-21 05:02:58 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-09-21 05:02:58 +0000 |
commit | 5f742fbd0ddb1b7e89bd9f7ce8fd38bed2ebc3db (patch) | |
tree | f0e192ace74db8cc2d8df4348a15d49560b8dd2b /src/util/configuration.cpp | |
parent | 3b1689612bb2ff984aa90cd84093ffc043d78ba9 (diff) |
Java binding now working. Some interface types still need some work (e.g. iterators aren't functional). Also, output isn't very flexible yet, as I told SWIG to ignore all the operator<<'s.
Diffstat (limited to 'src/util/configuration.cpp')
-rw-r--r-- | src/util/configuration.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/configuration.cpp b/src/util/configuration.cpp index 062aca478..7225b8108 100644 --- a/src/util/configuration.cpp +++ b/src/util/configuration.cpp @@ -137,7 +137,8 @@ char const* const* Configuration::getDebugTags() { #if CVC4_DEBUG return Debug_tags; #else /* CVC4_DEBUG */ - return NULL; + static char const* no_tags[] = { NULL }; + return no_tags; #endif /* CVC4_DEBUG */ } @@ -153,7 +154,8 @@ char const* const* Configuration::getTraceTags() { #if CVC4_TRACING return Trace_tags; #else /* CVC4_TRACING */ - return NULL; + static char const* no_tags[] = { NULL }; + return no_tags; #endif /* CVC4_TRACING */ } |