From b3fdb8c05e26025359940fe4c8f69c10b27fe639 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Mon, 4 Nov 2013 15:38:13 +0100 Subject: [PATCH] Document return value if an error occurs Signed-off-by: Sebastian Ramacher --- document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document.h b/document.h index 4b23125..08f6b20 100644 --- a/document.h +++ b/document.h @@ -15,7 +15,7 @@ * @param path Path to the document * @param password Password of the document or NULL * @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* plugin_manager, const char* path, const char* password, zathura_error_t*