debug.hh File Reference

Provides debugging macros. More...

#include <cstdio>
#include <cerrno>
#include <iostream>
#include <cstdlib>


#define NNL_D(x)


unsigned long self2ulong (void)

Detailed Description

Provides debugging macros.

Define Documentation

#define NNL_D (  ) 


do {\
                std::cout<<x<<" ["<<__FILE__<<':'<<__LINE__<<':'<<__FUNCTION__<<"]"<<std::endl;\
        } while(0)
debugging macro - prints debugging info to stdout unless NDEBUG is defined at compile time

Function Documentation

unsigned long self2ulong ( void   ) 

Return pthread_self() converted to unsigned long.

Generated on Tue Jun 19 10:31:47 2012 for nnl by  doxygen 1.4.7