]> wimlib.net Git - wimlib/blobdiff - include/wimlib.h
wimlib_reference_resource_files(): Fix return value docs
[wimlib] / 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
- *     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,