Eric Pouech : dbghelp: Added basic support for base class information.

Alexandre Julliard julliard at winehq.org
Thu Feb 7 07:59:29 CST 2008


Module: wine
Branch: master
Commit: 752a260402a51f3d5d02d1625e2a4cb192f69faf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=752a260402a51f3d5d02d1625e2a4cb192f69faf

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Wed Feb  6 21:55:53 2008 +0100

dbghelp: Added basic support for base class information.

As we don't support C++ for now, we just return FALSE for all cases.

---

 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-cvs mailing list