]> git.lyx.org Git - lyx.git/blobdiff - src/support/lassert.h
Fix bugs #6078 and #9364
[lyx.git] / src / support / lassert.h
index 5a47edfdb414ce5f327817a7d857f0a76cffa1d4..3407b774155ede7237a144bdf2503e1020fef9d0 100644 (file)
@@ -21,7 +21,7 @@ namespace lyx {
 
 /******************************************************************************
 
-LyX has five different macros that can be used to make assertions. The behave
+LyX has five different macros that can be used to make assertions. They behave
 the same way in devel mode: They assert. The differences between them are how
 they behave in release mode.
 
@@ -65,8 +65,10 @@ void doWarnIf(char const * expr, char const * file, long line);
 void doBufErr(char const * expr, char const * file, long line);
 void doAppErr(char const * expr, char const * file, long line);
 
+void doAssertWithCallstack(bool value);
+
 /// Print demangled callstack to stderr
-void printCallStack();
+docstring printCallStack();
 
 
 } // namespace lyx