diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-05 14:26:32 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-05 17:24:56 +0100 |
commit | 8cf7f2bfb542b1583aa525611179d1a545f945d5 (patch) | |
tree | 2885cfc2c857c7c4578e648553246865fa4c5653 /libqpdf/qpdf-c.cc | |
parent | 5f3f78822b5d43e9b02082da5268d186ba7101c0 (diff) | |
download | qpdf-8cf7f2bfb542b1583aa525611179d1a545f945d5.tar.zst |
API contract: qpdf_get_qpdf_version() returns a static
Diffstat (limited to 'libqpdf/qpdf-c.cc')
-rw-r--r-- | libqpdf/qpdf-c.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libqpdf/qpdf-c.cc b/libqpdf/qpdf-c.cc index 6f03a315..f03ed845 100644 --- a/libqpdf/qpdf-c.cc +++ b/libqpdf/qpdf-c.cc @@ -161,6 +161,7 @@ static QPDF_ERROR_CODE trap_errors( char const* qpdf_get_qpdf_version() { QTC::TC("qpdf", "qpdf-c called qpdf_get_qpdf_version"); + // The API guarantees that this is a static value. return QPDF::QPDFVersion().c_str(); } |