[PATCH 09/13] [DbGHelp]: added basic support for base class information

Eric Pouech eric.pouech at orange.fr
Wed Feb 6 14:55:53 CST 2008


- as we don't support C++ for now, we just return FALSE for all cases

A+
---

 dlls/dbghelp/type.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index 66757cd..a3eeeee 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -803,10 +803,15 @@ BOOL symt_get_info(const struct symt* type, IMAGEHLP_SYMBOL_TYPE_INFO req,
         X(DWORD) = (DWORD)((const struct symt_array*)type)->index_type;
         break;
 
+    case TI_GET_CLASSPARENTID:
+        /* FIXME: we don't support properly C++ for now, pretend this symbol doesn't
+         * belong to a parent class
+         */
+        return FALSE;
+
 #undef X
 
     case TI_GET_ADDRESSOFFSET:
-    case TI_GET_CLASSPARENTID:
     case TI_GET_SYMINDEX:
     case TI_GET_THISADJUST:
     case TI_GET_VIRTUALBASECLASS:





More information about the wine-patches mailing list