Add QUIRC_ASSERT
This commit is contained in:
parent
40def012e7
commit
dd6c64cafe
1 changed files with 3 additions and 0 deletions
|
@ -17,10 +17,13 @@
|
||||||
#ifndef QUIRC_INTERNAL_H_
|
#ifndef QUIRC_INTERNAL_H_
|
||||||
#define QUIRC_INTERNAL_H_
|
#define QUIRC_INTERNAL_H_
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "quirc.h"
|
#include "quirc.h"
|
||||||
|
|
||||||
|
#define QUIRC_ASSERT(a) assert(a)
|
||||||
|
|
||||||
#define QUIRC_PIXEL_WHITE 0
|
#define QUIRC_PIXEL_WHITE 0
|
||||||
#define QUIRC_PIXEL_BLACK 1
|
#define QUIRC_PIXEL_BLACK 1
|
||||||
#define QUIRC_PIXEL_REGION 2
|
#define QUIRC_PIXEL_REGION 2
|
||||||
|
|
Loading…
Reference in a new issue