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/block_writer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sqfs/block_writer.h') diff --git a/include/sqfs/block_writer.h b/include/sqfs/block_writer.h index bd1ddfc..674c0e7 100644 --- a/include/sqfs/block_writer.h +++ b/include/sqfs/block_writer.h @@ -34,6 +34,8 @@ * @implements sqfs_object_t * * @brief Abstracts writing and deduplicating of data and fragment blocks. + * + * This object is not copyable, i.e. @ref sqfs_copy will always return NULL. */ /** -- cgit v1.2.3