diff options
author | Jay Berkenbilt <ejb@ql.org> | 2012-06-22 15:46:33 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2012-06-22 15:46:33 +0200 |
commit | b6bdc0f5950287c1c9e76115bdec230dcf99b964 (patch) | |
tree | 5912f9a181e4350e7fd39867523081cd7d1327b4 /libqpdf/QUtil.cc | |
parent | a0768e419064b66ea6eb3e06a4398806b24311e8 (diff) | |
download | qpdf-b6bdc0f5950287c1c9e76115bdec230dcf99b964.tar.zst |
Add factory methods for creating empty arrays and dictionaries.
Also updated pdf_from_scratch test driver to use the new factories,
and made some cosmetic improvements and documentation updates for the
emptyPDF() method.
Diffstat (limited to 'libqpdf/QUtil.cc')
-rw-r--r-- | libqpdf/QUtil.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libqpdf/QUtil.cc b/libqpdf/QUtil.cc index 3c3bf011..bdb73f54 100644 --- a/libqpdf/QUtil.cc +++ b/libqpdf/QUtil.cc @@ -1,5 +1,8 @@ -#include <qpdf/QUtil.hh> +// Include qpdf-config.h first so off_t is gauaranteed to have the right size. #include <qpdf/qpdf-config.h> + +#include <qpdf/QUtil.hh> + #include <stdio.h> #include <errno.h> #include <ctype.h> |