summaryrefslogtreecommitdiffstats
path: root/src/mscvpdb.h
diff options
context:
space:
mode:
authorRainer Schuetze <r.sagitario@gmx.de>2014-12-19 10:53:15 (GMT)
committerRainer Schuetze <r.sagitario@gmx.de>2014-12-19 10:53:15 (GMT)
commitaf05b3b35914b7dd84b4a32400664381f74ec300 (patch)
treeb1ab762a6e2b108963f4328de744faa9701b7bd5 /src/mscvpdb.h
parentb898f0bc2cdc0928041386bc912de8d0488bdc38 (diff)
downloadcv2pdb-af05b3b35914b7dd84b4a32400664381f74ec300.zip
cv2pdb-af05b3b35914b7dd84b4a32400664381f74ec300.tar.gz
cv2pdb-af05b3b35914b7dd84b4a32400664381f74ec300.tar.bz2
revert types convert to *signed* short int
bump version add Visual D test project for cvtest.d
Diffstat (limited to 'src/mscvpdb.h')
-rw-r--r--src/mscvpdb.h240
1 files changed, 120 insertions, 120 deletions
diff --git a/src/mscvpdb.h b/src/mscvpdb.h
index ae3a084..f987fc6 100644
--- a/src/mscvpdb.h
+++ b/src/mscvpdb.h
@@ -121,7 +121,7 @@ union codeview_type
unsigned short int len;
short int id;
short int attribute;
- short int type;
+ unsigned short int type;
} modifier_v1;
struct
@@ -137,7 +137,7 @@ union codeview_type
unsigned short int len;
short int id;
short int attribute;
- short int datatype;
+ unsigned short int datatype;
struct p_string p_name;
} pointer_v1;
@@ -154,8 +154,8 @@ union codeview_type
{
unsigned short int len;
short int id;
- short int elemtype;
- short int idxtype;
+ unsigned short int elemtype;
+ unsigned short int idxtype;
unsigned short int arrlen; /* numeric leaf */
#if 0
struct p_string p_name;
@@ -191,10 +191,10 @@ union codeview_type
unsigned short int len;
short int id;
short int n_element;
- short int fieldlist;
+ unsigned short int fieldlist;
short int property;
- short int derived;
- short int vshape;
+ unsigned short int derived;
+ unsigned short int vshape;
unsigned short int structlen; /* numeric leaf */
#if 0
struct p_string p_name;
@@ -235,8 +235,8 @@ union codeview_type
{
unsigned short int len;
short int id;
- short int count;
- short int fieldlist;
+ unsigned short int count;
+ unsigned short int fieldlist;
short int property;
unsigned short int un_len; /* numeric leaf */
#if 0
@@ -248,7 +248,7 @@ union codeview_type
{
unsigned short int len;
short int id;
- short int count;
+ unsigned short int count;
short int property;
unsigned int fieldlist;
unsigned short int un_len; /* numeric leaf */
@@ -261,7 +261,7 @@ union codeview_type
{
unsigned short int len;
short int id;
- short int count;
+ unsigned short int count;
short int property;
unsigned int fieldlist;
unsigned short int un_len; /* numeric leaf */
@@ -274,9 +274,9 @@ union codeview_type
{
unsigned short int len;
short int id;
- short int count;
- short int type;
- short int fieldlist;
+ unsigned short int count;
+ unsigned short int type;
+ unsigned short int fieldlist;
short int property;
struct p_string p_name;
} enumeration_v1;
@@ -285,7 +285,7 @@ union codeview_type
{
unsigned short int len;
short int id;
- short int count;
+ unsigned short int count;
short int property;
unsigned int type;
unsigned int fieldlist;
@@ -296,7 +296,7 @@ union codeview_type
{
unsigned short int len;
short int id;
- short int count;
+ unsigned short int count;
short int property;
unsigned int type;
unsigned int fieldlist;
@@ -429,27 +429,27 @@ union codeview_fieldtype
struct
{
- short int id;
- short int type;
- short int attribute;
- unsigned short int offset; /* numeric leaf */
+ short int id;
+ unsigned short int type;
+ short int attribute;
+ unsigned short int offset; /* numeric leaf */
} bclass_v1;
struct
{
- short int id;
- short int attribute;
- unsigned int type;
- unsigned short int offset; /* numeric leaf */
+ short int id;
+ short int attribute;
+ unsigned int type;
+ unsigned short int offset; /* numeric leaf */
} bclass_v2;
struct
{
- short int id;
- short int btype;
- short int vbtype;
- short int attribute;
- unsigned short int vbpoff; /* numeric leaf */
+ short int id;
+ unsigned short int btype;
+ unsigned short int vbtype;
+ short int attribute;
+ unsigned short int vbpoff; /* numeric leaf */
#if 0
unsigned short int vboff; /* numeric leaf */
#endif
@@ -457,11 +457,11 @@ union codeview_fieldtype
struct
{
- short int id;
- short int attribute;
- unsigned int btype;
- unsigned int vbtype;
- unsigned short int vbpoff; /* numeric leaf */
+ short int id;
+ short int attribute;
+ unsigned int btype;
+ unsigned int vbtype;
+ unsigned short int vbpoff; /* numeric leaf */
#if 0
unsigned short int vboff; /* numeric leaf */
#endif
@@ -489,38 +489,38 @@ union codeview_fieldtype
struct
{
- short int id;
- short int type;
- struct p_string p_name;
+ short int id;
+ unsigned short int type;
+ struct p_string p_name;
} friendfcn_v1;
struct
{
- short int id;
- short int _pad0;
- unsigned int type;
- struct p_string p_name;
+ short int id;
+ short int _pad0;
+ unsigned int type;
+ struct p_string p_name;
} friendfcn_v2;
struct
{
- short int id;
- short int type;
- short int attribute;
- unsigned short int offset; /* numeric leaf */
+ short int id;
+ unsigned short int type;
+ short int attribute;
+ unsigned short int offset; /* numeric leaf */
#if 0
- struct p_string p_name;
+ struct p_string p_name;
#endif
} member_v1;
struct
{
- short int id;
- short int attribute;
- unsigned int type;
- unsigned short int offset; /* numeric leaf */
+ short int id;
+ short int attribute;
+ unsigned int type;
+ unsigned short int offset; /* numeric leaf */
#if 0
- struct p_string p_name;
+ struct p_string p_name;
#endif
} member_v2;
@@ -538,132 +538,132 @@ union codeview_fieldtype
struct
{
- short int id;
- short int type;
- short int attribute;
- struct p_string p_name;
+ short int id;
+ unsigned short int type;
+ short int attribute;
+ struct p_string p_name;
} stmember_v1;
struct
{
- short int id;
- short int attribute;
- unsigned int type;
- struct p_string p_name;
+ short int id;
+ short int attribute;
+ unsigned int type;
+ struct p_string p_name;
} stmember_v2;
struct
{
- short int id;
- short int attribute;
- unsigned int type;
- char name[1];
+ short int id;
+ short int attribute;
+ unsigned int type;
+ char name[1];
} stmember_v3;
struct
{
- short int id;
- short int count;
- short int mlist;
- struct p_string p_name;
+ short int id;
+ short int count;
+ unsigned short int mlist;
+ struct p_string p_name;
} method_v1;
struct
{
- short int id;
- short int count;
- unsigned int mlist;
- struct p_string p_name;
+ short int id;
+ short int count;
+ unsigned int mlist;
+ struct p_string p_name;
} method_v2;
struct
{
- short int id;
- short int count;
- unsigned int mlist;
- char name[1];
+ short int id;
+ short int count;
+ unsigned int mlist;
+ char name[1];
} method_v3;
struct
{
- short int id;
- short int type;
- struct p_string p_name;
+ short int id;
+ unsigned short int type;
+ struct p_string p_name;
} nesttype_v1;
struct
{
- short int id;
- short int _pad0;
- unsigned int type;
- struct p_string p_name;
+ short int id;
+ short int _pad0;
+ unsigned int type;
+ struct p_string p_name;
} nesttype_v2;
struct
{
- short int id;
- short int _pad0;
- unsigned int type;
- char name[1];
+ short int id;
+ short int _pad0;
+ unsigned int type;
+ char name[1];
} nesttype_v3;
struct
{
- short int id;
- short int type;
+ short int id;
+ unsigned short int type;
} vfunctab_v1;
struct
{
- short int id;
- short int _pad0;
- unsigned int type;
+ short int id;
+ short int _pad0;
+ unsigned int type;
} vfunctab_v2;
struct
{
- short int id;
- short int type;
+ short int id;
+ unsigned short int type;
} friendcls_v1;
struct
{
- short int id;
- short int _pad0;
- unsigned int type;
+ short int id;
+ short int _pad0;
+ unsigned int type;
} friendcls_v2;
struct
{
- short int id;
- short int attribute;
- short int type;
- struct p_string p_name;
+ short int id;
+ short int attribute;
+ unsigned short int type;
+ struct p_string p_name;
} onemethod_v1;
struct
{
- short int id;
- short int attribute;
- unsigned int type;
- struct p_string p_name;
+ short int id;
+ short int attribute;
+ unsigned int type;
+ struct p_string p_name;
} onemethod_v2;
struct
{
- short int id;
- short int attribute;
- unsigned int type;
- char name[1];
+ short int id;
+ short int attribute;
+ unsigned int type;
+ char name[1];
} onemethod_v3;
struct
{
- short int id;
- short int attribute;
- short int type;
- unsigned int vtab_offset;
- struct p_string p_name;
+ short int id;
+ short int attribute;
+ unsigned short int type;
+ unsigned int vtab_offset;
+ struct p_string p_name;
} onemethod_virt_v1;
struct
@@ -686,9 +686,9 @@ union codeview_fieldtype
struct
{
- short int id;
- short int type;
- unsigned int offset;
+ short int id;
+ unsigned short int type;
+ unsigned int offset;
} vfuncoff_v1;
struct
@@ -701,10 +701,10 @@ union codeview_fieldtype
struct
{
- short int id;
- short int attribute;
- short int type;
- struct p_string p_name;
+ short int id;
+ short int attribute;
+ unsigned short int type;
+ struct p_string p_name;
} nesttypeex_v1;
struct