From 44c81eeffe9c8820b1009a7a5c728782aa5ebf40 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 3 Mar 2020 19:43:54 +0100 Subject: Add a generic copying mechanism to sqfs_object_t This patch adds a deep-copy callback to sqfs_object_t and removes the copying mechanism from sqfs_compressor_t. This is also interesting for other types. Signed-off-by: David Oberhollenzer --- include/sqfs/dir_writer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sqfs/dir_writer.h') diff --git a/include/sqfs/dir_writer.h b/include/sqfs/dir_writer.h index e4a26c7..dce5a79 100644 --- a/include/sqfs/dir_writer.h +++ b/include/sqfs/dir_writer.h @@ -58,6 +58,8 @@ * adding entries. Internally it fills data into a meta data writer and * generates an index that it can, on request, write to another meta data * writer used for inodes. + * + * This object is not copyable, i.e. @ref sqfs_copy will always return NULL. */ /** -- cgit v1.2.3