##// END OF EJS Templates
Some work on SpectrogramTS Python wrapper...
Some work on SpectrogramTS Python wrapper Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r9:b3317a5111ec
r83:698d7cfa01b0
Show More
debug.h
24 lines | 678 B | text/x-c | CLexer
Basic serial variable creation and update...
r2 #ifndef DEBUG_H
#define DEBUG_H
Many fixes plus implemented var synchronization...
r9 #include <string>
#include <iostream>
#include <typeinfo>
#include <assert.h>
template <class T, bool crash>
void SciQLopError(const std::string& message, int line, const std::string& file)
{
std::cerr << "Error in " << file << ", class:" << typeid(T).name() << ", line: " << line <<
std::endl << "Message: " << message << std::endl;
if constexpr(crash)
throw;
}
Basic serial variable creation and update...
r2
#ifdef SCIQLOP_CRASH_ON_ERROR
Many fixes plus implemented var synchronization...
r9 #define SCIQLOP_ERROR(CLASS, MESSAGE) SciQLopError<CLASS, true>(MESSAGE, __LINE__, __FILE__)
Basic serial variable creation and update...
r2 #else
Many fixes plus implemented var synchronization...
r9 #define SCIQLOP_ERROR(CLASS, MESSAGE) SciQLopError<CLASS, false>(MESSAGE, __LINE__, __FILE__)
Basic serial variable creation and update...
r2 #endif
Many fixes plus implemented var synchronization...
r9
Basic serial variable creation and update...
r2 #endif