aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-06-27 16:43:27 +0200
committerJay Berkenbilt <ejb@ql.org>2012-06-27 16:43:27 +0200
commit5f59c32f876556a031dd2536b5c7f0fb0b58968d (patch)
tree1067aa2e6ddafcd0fcd0b7715c693ce7d4f58f0e /include
parenta167ce8120e171308b2388b1c50dd8cc7d007f84 (diff)
downloadqpdf-5f59c32f876556a031dd2536b5c7f0fb0b58968d.tar.zst
Add a few minor enhancements to recent work
Test coverage case for new newStream method Expose decimal_places argument for double-based newReal All enhancements suggested by Tobias.
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFObjectHandle.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index 8cfe56f3..a61277a9 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -102,7 +102,7 @@ class QPDFObjectHandle
QPDF_DLL
static QPDFObjectHandle newReal(std::string const& value);
QPDF_DLL
- static QPDFObjectHandle newReal(double value);
+ static QPDFObjectHandle newReal(double value, int decimal_places = 0);
QPDF_DLL
static QPDFObjectHandle newName(std::string const& name);
QPDF_DLL