2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-03 15:17:29 +00:00

remove off_t from C API

git-svn-id: svn+q:///qpdf/trunk@846 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2009-10-20 02:40:08 +00:00
parent 436ebf6017
commit bf6e4ecf00
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ extern "C" {
DLL_EXPORT
char const* qpdf_get_error_filename(qpdf_data q, qpdf_error e);
DLL_EXPORT
off_t qpdf_get_error_file_position(qpdf_data q, qpdf_error e);
unsigned long qpdf_get_error_file_position(qpdf_data q, qpdf_error e);
DLL_EXPORT
char const* qpdf_get_error_message_detail(qpdf_data q, qpdf_error e);

View File

@ -173,7 +173,7 @@ char const* qpdf_get_error_filename(qpdf_data qpdf, qpdf_error e)
return e->exc.getPointer()->getFilename().c_str();
}
off_t qpdf_get_error_file_position(qpdf_data qpdf, qpdf_error e)
unsigned long qpdf_get_error_file_position(qpdf_data qpdf, qpdf_error e)
{
return e->exc.getPointer()->getFilePosition();
}