chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
antialiasing text conversion: seems to handle it in the C code so far ....
[ypp-sc-tools.db-test.git]
/
pctb
/
common.h
diff --git
a/pctb/common.h
b/pctb/common.h
index e4100f9d461bcfe216c061970016b4daa759936b..d4464bdbefa4adf958d8619d5d2b63ef8c3ab88d 100644
(file)
--- a/
pctb/common.h
+++ b/
pctb/common.h
@@
-48,6
+48,7
@@
typedef struct {
int w,h;
typedef struct {
int w,h;
+ struct RgbImage *rgb;
char d[];
} CanonImage;
char d[];
} CanonImage;
@@
-162,6
+163,6
@@
char *masprintf(const char *fmt, ...) FMT(1,2);
#define ARRAYSIZE(a) ((sizeof((a)) / sizeof((a)[0])))
#define ARRAYSIZE(a) ((sizeof((a)) / sizeof((a)[0])))
-
+#define FILLZERO(obj) (memset(&(obj),0,sizeof((obj))))
#endif /*COMMON_H*/
#endif /*COMMON_H*/