Add module names
This commit is contained in:
parent
0bbbc26f2a
commit
eb640d27a1
7 changed files with 73 additions and 6 deletions
27
general.h
27
general.h
|
@ -11,6 +11,32 @@
|
|||
#include <stdint.h>
|
||||
#include "settings.h"
|
||||
|
||||
#define _LCR_MODULE_NAME "general"
|
||||
|
||||
#ifndef LCR_LOG0
|
||||
#define LCR_LOG0(s) ;
|
||||
#endif
|
||||
|
||||
#ifndef LCR_LOG1
|
||||
#define LCR_LOG1(s) ;
|
||||
#endif
|
||||
|
||||
#ifndef LCR_LOG2
|
||||
#define LCR_LOG2(s) ;
|
||||
#endif
|
||||
|
||||
#ifndef LCR_LOG0_NUM
|
||||
#define LCR_LOG0_NUM(x) ;
|
||||
#endif
|
||||
|
||||
#ifndef LCR_LOG1
|
||||
#define LCR_LOG1_NUM(x) ;
|
||||
#endif
|
||||
|
||||
#ifndef LCR_LOG2
|
||||
#define LCR_LOG2_NUM(x) ;
|
||||
#endif
|
||||
|
||||
// constants (not supposed to be changed, doing so may break stuff):
|
||||
|
||||
#define LCR_EFFECTIVE_RESOLUTION_X \
|
||||
|
@ -95,4 +121,5 @@ char _LCR_triangleWinding(int x0, int y0, int x1, int y1, int x2, int y2)
|
|||
return x0 != 0 ? (x0 > 0 ? 1 : -1) : 0;
|
||||
}
|
||||
|
||||
#undef _LCR_MODULE_NAME
|
||||
#endif // guard
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue