diff options
Diffstat (limited to 'src/cvutil.cpp')
-rw-r--r-- | src/cvutil.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cvutil.cpp b/src/cvutil.cpp index c125b41..64802f2 100644 --- a/src/cvutil.cpp +++ b/src/cvutil.cpp @@ -21,6 +21,18 @@ bool isStruct(const codeview_type* cvtype) return false;
}
+bool isClass(const codeview_type* cvtype)
+{
+ switch(cvtype->common.id)
+ {
+ case LF_CLASS_V1:
+ case LF_CLASS_V2:
+ case LF_CLASS_V3:
+ return true;
+ }
+ return false;
+}
+
int getStructProperty(const codeview_type* cvtype)
{
switch(cvtype->common.id)
|