mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 03:18:59 +00:00
781c313058
This makes it possible to store offsets that are larger than 2 GB in the trailer dictionary.
25 lines
306 B
C++
25 lines
306 B
C++
#include <qpdf/QPDF_Integer.hh>
|
|
|
|
#include <qpdf/QUtil.hh>
|
|
|
|
QPDF_Integer::QPDF_Integer(long long val) :
|
|
val(val)
|
|
{
|
|
}
|
|
|
|
QPDF_Integer::~QPDF_Integer()
|
|
{
|
|
}
|
|
|
|
std::string
|
|
QPDF_Integer::unparse()
|
|
{
|
|
return QUtil::int_to_string(this->val);
|
|
}
|
|
|
|
long long
|
|
QPDF_Integer::getVal() const
|
|
{
|
|
return this->val;
|
|
}
|