Document return value if an error occurs

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2013-11-04 15:38:13 +01:00
parent 0b54230811
commit b3fdb8c05e

View File

@ -15,7 +15,7 @@
* @param path Path to the document * @param path Path to the document
* @param password Password of the document or NULL * @param password Password of the document or NULL
* @param error Optional error parameter * @param error Optional error parameter
* @return The document object * @return The document object and NULL if an error occurs
*/ */
zathura_document_t* zathura_document_open(zathura_plugin_manager_t* zathura_document_t* zathura_document_open(zathura_plugin_manager_t*
plugin_manager, const char* path, const char* password, zathura_error_t* plugin_manager, const char* path, const char* password, zathura_error_t*