mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Remove C destructor functions; they're no-ops.
This commit is contained in:
1 parent
04e8a73d10
commit
552fcde35a
9 files changed
+83
-166
No files matched your search
@@ -229,8 +229,6 @@ void puffs_gif_lzw_decoder_constructor(puffs_gif_lzw_decoder* self,
|
||||
uint32_t puffs_version,
|
||||
uint32_t for_internal_use_only);
|
||||
|
||||
void puffs_gif_lzw_decoder_destructor(puffs_gif_lzw_decoder* self);
|
||||
|
||||
// puffs_gif_decoder_constructor is a constructor function.
|
||||
//
|
||||
// It should be called before any other puffs_gif_decoder_* function.
|
||||
@@ -240,8 +238,6 @@ void puffs_gif_decoder_constructor(puffs_gif_decoder* self,
|
||||
uint32_t puffs_version,
|
||||
uint32_t for_internal_use_only);
|
||||
|
||||
void puffs_gif_decoder_destructor(puffs_gif_decoder* self);
|
||||
|
||||
// ---------------- Public Function Prototypes
|
||||
|
||||
puffs_gif_status puffs_gif_decoder_decode(puffs_gif_decoder* self,
|
||||
@@ -526,12 +522,6 @@ void puffs_gif_lzw_decoder_constructor(puffs_gif_lzw_decoder* self,
|
||||
self->private_impl.f_literal_width = 8;
|
||||
}
|
||||
|
||||
void puffs_gif_lzw_decoder_destructor(puffs_gif_lzw_decoder* self) {
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
void puffs_gif_decoder_constructor(puffs_gif_decoder* self,
|
||||
uint32_t puffs_version,
|
||||
uint32_t for_internal_use_only) {
|
||||
@@ -550,13 +540,6 @@ void puffs_gif_decoder_constructor(puffs_gif_decoder* self,
|
||||
PUFFS_ALREADY_ZEROED);
|
||||
}
|
||||
|
||||
void puffs_gif_decoder_destructor(puffs_gif_decoder* self) {
|
||||
if (!self) {
|
||||
return;
|
||||
}
|
||||
puffs_gif_lzw_decoder_destructor(&self->private_impl.f_lzw);
|
||||
}
|
||||
|
||||
// ---------------- Function Implementations
|
||||
|
||||
puffs_gif_status puffs_gif_decoder_decode(puffs_gif_decoder* self,
|
||||
|
||||
Reference in new issue
Block a user