aboutsummaryrefslogtreecommitdiff
path: root/project/dclib/lib-bmg.c
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2022-05-13 19:22:13 +0200
committerWiimm <wiimm@wiimm.de>2022-05-13 19:22:13 +0200
commit568365f5bdd4dc71a156ca963d89ac002f405a34 (patch)
tree730d0311536d8fd46a56b74e2c8cac028e778243 /project/dclib/lib-bmg.c
parent9ae8841ec4720e74173e2f72fac33f0848bbf435 (diff)
SZS v2.27a
Diffstat (limited to '')
-rw-r--r--project/dclib/lib-bmg.c40
1 files changed, 35 insertions, 5 deletions
diff --git a/project/dclib/lib-bmg.c b/project/dclib/lib-bmg.c
index c1d24ce..0540243 100644
--- a/project/dclib/lib-bmg.c
+++ b/project/dclib/lib-bmg.c
@@ -14,16 +14,16 @@
* *
***************************************************************************
* *
- * Copyright (c) 2012-2021 by Dirk Clemens <wiimm@wiimm.de> *
+ * Copyright (c) 2012-2022 by Dirk Clemens <wiimm@wiimm.de> *
* *
***************************************************************************
* *
- * This program is free software; you can redistribute it and/or modify *
+ * This library is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * This program is distributed in the hope that it will be useful, *
+ * This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
@@ -500,7 +500,7 @@ uint PrintString16BMG
xd.indent = 2;
xd.assumed_size = mem.len;
XDiff( &xd, buf,dest-buf,true, mem.ptr,mem.len,true, 5,false );
- }
+ }
ResetFastBuf(&fb.b);
#endif
@@ -542,7 +542,7 @@ uint PrintFastBuf16BMG
char buf[1300];
char *dest = buf;
- char *dest_term = dest + sizeof(buf) - 1;
+ char *dest_term = dest + sizeof(buf) - 1;
char *dest_end = dest_term - 270; // escape sequence with 256 bytes possible
char *last_u = 0;
@@ -6442,6 +6442,36 @@ void DumpCtBMG ( FILE *f, int indent, ct_bmg_t *ctb )
//
///////////////////////////////////////////////////////////////////////////////
+/////////////// sizeof_info_t: bmg ///////////////
+///////////////////////////////////////////////////////////////////////////////
+// [[sizeof_info_bmg]]
+
+const sizeof_info_t sizeof_info_bmg[] =
+{
+ SIZEOF_INFO_TITLE("BMG")
+ SIZEOF_INFO_ENTRY(bmg_range_t)
+ SIZEOF_INFO_ENTRY(bmg_section_t)
+ SIZEOF_INFO_ENTRY(bmg_header_t)
+ SIZEOF_INFO_ENTRY(bmg_inf_item_t)
+ SIZEOF_INFO_ENTRY(bmg_inf_t)
+ SIZEOF_INFO_ENTRY(bmg_dat_t)
+ SIZEOF_INFO_ENTRY(bmg_mid_t)
+ SIZEOF_INFO_ENTRY(bmg_flw_t)
+ SIZEOF_INFO_ENTRY(bmg_fli_t)
+ SIZEOF_INFO_ENTRY(bmg_sect_info_t)
+ SIZEOF_INFO_ENTRY(bmg_sect_list_t)
+ SIZEOF_INFO_ENTRY(bmg_raw_section_t)
+ SIZEOF_INFO_ENTRY(bmg_item_t)
+ SIZEOF_INFO_ENTRY(bmg_t)
+ SIZEOF_INFO_ENTRY(bmg_create_t)
+ SIZEOF_INFO_ENTRY(bmg_scan_mid_t)
+ SIZEOF_INFO_ENTRY(ct_bmg_t)
+
+ SIZEOF_INFO_TERM()
+};
+
+//
+///////////////////////////////////////////////////////////////////////////////
/////////////// E N D ///////////////
///////////////////////////////////////////////////////////////////////////////