mirror of
https://github.com/openbabel/openbabel.git
synced 2026-08-09 12:38:03 -05:00
12 lines
312 B
C++
12 lines
312 B
C++
#include <iostream>
|
|
#include <cstdlib>
|
|
|
|
void report_error(const char* msg, const char* file, int line, const char* func_name, bool require)
|
|
{
|
|
std::cout << file << ":" << line << ": " << msg << " (FAIL)" << std::endl;
|
|
if (require)
|
|
exit(-1);
|
|
}
|
|
|
|
const char* ob_expr(const char *expr) { return expr; }
|