Eric Pouech : dbghelp: Expose compiland's children in SymGetTypeInfo().

Alexandre Julliard julliard at winehq.org
Wed Oct 6 15:51:36 CDT 2021


Module: wine
Branch: master
Commit: 8e50fea66b04c725e4ed830132bd8ae4f458155d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=8e50fea66b04c725e4ed830132bd8ae4f458155d

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Oct  6 10:00:47 2021 +0200

dbghelp: Expose compiland's children in SymGetTypeInfo().

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/type.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index 0baa9d72c32..91c334689ce 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -549,6 +549,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
 
             switch (type->tag)
             {
+            case SymTagCompiland:    v = &((const struct symt_compiland*)type)->vchildren; break;
             case SymTagUDT:          v = &((const struct symt_udt*)type)->vchildren; break;
             case SymTagEnum:         v = &((const struct symt_enum*)type)->vchildren; break;
             case SymTagFunctionType: v = &((const struct symt_function_signature*)type)->vchildren; break;
@@ -594,6 +595,9 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
     case TI_GET_CHILDRENCOUNT:
         switch (type->tag)
         {
+        case SymTagCompiland:
+            X(DWORD) = vector_length(&((const struct symt_compiland*)type)->vchildren);
+            break;
         case SymTagUDT:
             X(DWORD) = vector_length(&((const struct symt_udt*)type)->vchildren);
             break;




More information about the wine-cvs mailing list