From 75ad9b98672afbbf59e9909b799184afb0dc0ba9 Mon Sep 17 00:00:00 2001 From: Ilya Lysenkov Date: Mon, 9 Apr 2012 13:37:44 +0000 Subject: [PATCH] Documented a return value in cvOpenFileStorage (issue #215) --- modules/core/doc/old_xml_yaml_persistence.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/doc/old_xml_yaml_persistence.rst b/modules/core/doc/old_xml_yaml_persistence.rst index d5eeb91..1bfd17e 100644 --- a/modules/core/doc/old_xml_yaml_persistence.rst +++ b/modules/core/doc/old_xml_yaml_persistence.rst @@ -356,7 +356,7 @@ Opens file storage for reading or writing data. * **CV_STORAGE_WRITE** the storage is open for writing -The function opens file storage for reading or writing data. In the latter case, a new file is created or an existing file is rewritten. The type of the read or written file is determined by the filename extension: ``.xml`` for ``XML`` and ``.yml`` or ``.yaml`` for ``YAML``. The function returns a pointer to the :ocv:struct:`CvFileStorage` structure. +The function opens file storage for reading or writing data. In the latter case, a new file is created or an existing file is rewritten. The type of the read or written file is determined by the filename extension: ``.xml`` for ``XML`` and ``.yml`` or ``.yaml`` for ``YAML``. The function returns a pointer to the :ocv:struct:`CvFileStorage` structure. If the file cannot be opened then the function returns ``NULL``. Read ---- -- 2.7.4