Commit 8e50fea6 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

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

parent 15d526d8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment