Clarified two comments.

This commit is contained in:
Thomas Schmitt 2011-05-06 13:32:06 +02:00
parent fed8b23017
commit 6d5e68fd01
2 changed files with 7 additions and 1 deletions

View File

@ -246,6 +246,9 @@ int default_create_node(IsoNodeBuilder *builder, IsoImage *image,
static static
void default_free(IsoNodeBuilder *builder) void default_free(IsoNodeBuilder *builder)
{ {
/* The .free() method of IsoNodeBuilder shall free private data but not
the builder itself. The latter is done in iso_node_builder_unref().
*/
return; return;
} }

View File

@ -440,7 +440,10 @@ struct iso_filesystem
/** /**
* Retrieve a file from its absolute path inside the filesystem. * Retrieve a file from its absolute path inside the filesystem.
* * @param file
* Returns a pointer to a IsoFileSource object representing the
* file. It has to be disposed by iso_file_source_unref() when
* no longer needed.
* @return * @return
* 1 success, < 0 error (has to be a valid libisofs error code) * 1 success, < 0 error (has to be a valid libisofs error code)
* Error codes: * Error codes: