sumalibs first commit
This commit is contained in:
25
libutils/debug.h
Normal file
25
libutils/debug.h
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
* debug.h
|
||||
*
|
||||
* Created on: 4 sept. 2012
|
||||
* Author: coissac
|
||||
*/
|
||||
|
||||
#ifndef DEBUG_H_
|
||||
#define DEBUG_H_
|
||||
|
||||
#ifdef DEBUG
|
||||
#undef DEBUG
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_ON
|
||||
#define DEBUG(format,...) fprintf(stderr,"[%s:%d] : "format"\n",__FILE__,__LINE__,__VA_ARGS__)
|
||||
#else
|
||||
#define DEBUG(format,...)
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
|
||||
char * int2bin(int64_t i,size_t bits);
|
||||
|
||||
|
||||
#endif /* DEBUG_H_ */
|
Reference in New Issue
Block a user