From 2a20823b7b93584699cf3d3b38b707db3f452845 Mon Sep 17 00:00:00 2001 From: Eugen Betke Date: Wed, 18 Dec 2024 15:33:39 +0100 Subject: [PATCH] Modernisation: Clean-up unused files --- src/dumper.class | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 src/dumper.class diff --git a/src/dumper.class b/src/dumper.class deleted file mode 100644 index 62bc265db..000000000 --- a/src/dumper.class +++ /dev/null @@ -1,47 +0,0 @@ -static void init_class (grib_dumper_class*); -static int init (grib_dumper* d); -static int destroy (grib_dumper*); -static void dump_long (grib_dumper* d, grib_accessor* a,const char* comment); -static void dump_bits (grib_dumper* d, grib_accessor* a,const char* comment); -static void dump_double (grib_dumper* d, grib_accessor* a,const char* comment); -static void dump_string (grib_dumper* d, grib_accessor* a,const char* comment); -static void dump_string_array (grib_dumper* d, grib_accessor* a,const char* comment); -static void dump_bytes (grib_dumper* d, grib_accessor* a,const char* comment); -static void dump_values (grib_dumper* d, grib_accessor* a); -static void dump_label (grib_dumper* d, grib_accessor* a,const char* comment); -static void dump_section (grib_dumper* d, grib_accessor* a,grib_block_of_accessors* block); -static void header (grib_dumper*,grib_handle*); -static void footer (grib_dumper*,grib_handle*); - -typedef struct grib_dumper_NAME { - grib_dumper dumper; -MEMBERS -} grib_dumper_NAME; - -extern grib_dumper_class* SUPER; - -static grib_dumper_class _grib_dumper_class_NAME = { - &SUPER, /* super */ - "NAME", /* name */ - sizeof(grib_dumper_NAME), /* size */ - 0, /* inited */ - &init_class, /* init_class */ - &init, /* init */ - &destroy, /* free mem */ - &dump_long, /* dump long */ - &dump_double, /* dump double */ - &dump_string, /* dump string */ - &dump_string_array, /* dump string array */ - &dump_label, /* dump labels */ - &dump_bytes, /* dump bytes */ - &dump_bits, /* dump bits */ - &dump_section, /* dump section */ - &dump_values, /* dump values */ - &header, /* header */ - &footer, /* footer */ -}; - -grib_dumper_class* grib_dumper_class_NAME = &_grib_dumper_class_NAME; - -ADD_TO_FILE grib_dumper_class.h extern grib_dumper_class* grib_dumper_class_NAME; -ADD_TO_FILE grib_dumper_factory.h { "NAME", &grib_dumper_class_NAME, },