/usr/include/libGenome-1.3/libGenome/gnDebug.h is in libgenome-1.3-dev 1.3.1-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | /////////////////////////////////////////////////////////////////////////////
// File: libGenome/gnDebug.h
// Purpose: Debug header used for libGenome
// Description: Debug defines all debuging tools used for libGenome
// Rev: A
// Author: Aaron Darling
// Modified by:
// Copyright: (c) Aaron Darling
// Licenses: See COPYING file for details
/////////////////////////////////////////////////////////////////////////////
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifndef _gnDebug_h_
#define _gnDebug_h_
#include "libGenome/gnDefs.h"
#include <string>
#include <iostream>
#if(defined(WIN32))
#include "intrin.h"
#endif
namespace genome {
/** this little function traps into the MSVC debugger */
inline
void breakHere()
{
#if(defined(WIN32))
__debugbreak();
#endif
}
#if defined(COMMAND_LINE) || defined(_CONSOLE)
const boolean USE_COMMAND_LINE = true;
const boolean USE_GUI = false;
#elif defined(GN_GUI)
const boolean USE_COMMAND_LINE = false;
const boolean USE_GUI = true;
#else
const boolean USE_COMMAND_LINE = false;
const boolean USE_GUI = false;
#endif
GNDLLEXPORT void DebugMsg(std::string a);
inline
void DebugMsg(std::string a){
if(USE_COMMAND_LINE){
std::cout << a;
}else if(USE_GUI){
}
}
GNDLLEXPORT void ErrorMsg(std::string a);
inline
void ErrorMsg(std::string a){
if(USE_COMMAND_LINE){
std::cout << a;
}else if(USE_GUI){
}
}
} // end namespace genome
#endif
//_gnDebug_h_
|