sumalibs first commit

This commit is contained in:
Celine Mercier
2015-07-16 14:00:12 +02:00
commit 049129488e
41 changed files with 7796 additions and 0 deletions

25
libutils/debug.h Normal file
View 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_ */