Module: wine Branch: master Commit: b7c231c78f84402b47c79ba744884c32ca2a8323 URL: https://source.winehq.org/git/wine.git/?a=commit;h=b7c231c78f84402b47c79ba74... Author: Eric Pouech <eric.pouech(a)gmail.com> Date: Wed Jun 22 16:28:08 2022 +0200 dbghelp: Rely on first/last type index from type header. Code now follows these guidelines: - define PDB & Codeview internals in cvconst.h and mscvinfo.h (instead of having definitions in .c files, some of them being duplicate of .h content, and their "duplicate" values eventually diverged over time) - index of first type comes from PDB type header (instead of always being hardcoded as FIRST_DEFINABLE_TYPE) - use index of last typex from type header (instead of guessing the right value while parsing types, which also allows a single allocation instead of enlarging buffer while parsing). Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com> --- dlls/dbghelp/msc.c | 108 ++++++++++++++++++++++--------------------------- include/wine/mscvpdb.h | 3 +- 2 files changed, 50 insertions(+), 61 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=b7c231c78f84402b47c79...