diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/Constants.h | 3 | ||||
-rw-r--r-- | include/qpdf/qpdf-c.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/qpdf/Constants.h b/include/qpdf/Constants.h index d74cace3..c3c6fce2 100644 --- a/include/qpdf/Constants.h +++ b/include/qpdf/Constants.h @@ -17,7 +17,8 @@ enum qpdf_error_code_e { - qpdf_e_internal = 1, /* logic/programming error -- indicates bug */ + qpdf_e_success = 0, + qpdf_e_internal, /* logic/programming error -- indicates bug */ qpdf_e_system, /* I/O error, memory error, etc. */ qpdf_e_unsupported, /* PDF feature not (yet) supported by qpdf */ qpdf_e_password, /* incorrect password for encrypted file */ diff --git a/include/qpdf/qpdf-c.h b/include/qpdf/qpdf-c.h index 492a72ba..4b000a24 100644 --- a/include/qpdf/qpdf-c.h +++ b/include/qpdf/qpdf-c.h @@ -142,8 +142,7 @@ extern "C" { char const* qpdf_get_error_full_text(qpdf_data q, qpdf_error e); /* Use these functions to extract individual fields from the - * error; see QPDFExc.hh for details. It is invalid for e to be a - * null pointer for any of these calls. */ + * error; see QPDFExc.hh for details. */ QPDF_DLL enum qpdf_error_code_e qpdf_get_error_code(qpdf_data q, qpdf_error e); QPDF_DLL |