]> wimlib.net Git - wimlib/commitdiff
wimlib_reference_resource_files(): Fix return value docs
authorEric Biggers <ebiggers3@gmail.com>
Tue, 20 Aug 2013 23:27:00 +0000 (18:27 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 20 Aug 2013 23:27:00 +0000 (18:27 -0500)
include/wimlib.h

index 39538182e5e9e0c4077540b8e08159577c25ced1..132233ff4b3f8d6ebc18c60245bc4bee14f48133 100644 (file)
@@ -2743,8 +2743,9 @@ wimlib_reference_resource_files(WIMStruct *wim,
  *
  * @retval ::WIMLIB_ERR_INVALID_PARAM
  *     @p wim was @c NULL, or @p num_resource_wims was nonzero but @p
  *
  * @retval ::WIMLIB_ERR_INVALID_PARAM
  *     @p wim was @c NULL, or @p num_resource_wims was nonzero but @p
- *     resource_wims was @c NULL, or @p wim did not contain metadata resources,
- *     or an entry in @p resource_wims was @p NULL.
+ *     resource_wims was @c NULL, or an entry in @p resource_wims was @p NULL.
+ * @retval ::WIMLIB_ERR_NOMEM
+ *     Failed to allocate memory.
  */
 extern int
 wimlib_reference_resources(WIMStruct *wim, WIMStruct **resource_wims,
  */
 extern int
 wimlib_reference_resources(WIMStruct *wim, WIMStruct **resource_wims,