mscvpdb.h: Add definition for friend function v3.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-11-02 15:31:43 +01:00 committed by Alexandre Julliard
parent 1131b32685
commit fd959ef060
2 changed files with 10 additions and 2 deletions

View file

@ -566,6 +566,14 @@ union codeview_fieldtype
struct p_string p_name;
} friendfcn_v2;
struct
{
unsigned short int id;
short int _pad0;
cv_typ_t type;
char name[1];
} friendfcn_v3;
struct
{
unsigned short int id;
@ -1266,6 +1274,7 @@ union codeview_fieldtype
#define LF_STRUCTURE_V3 0x1505
#define LF_UNION_V3 0x1506
#define LF_ENUM_V3 0x1507
#define LF_FRIENDFCN_V3 0x150c
#define LF_MEMBER_V3 0x150d
#define LF_STMEMBER_V3 0x150e
#define LF_METHOD_V3 0x150f

View file

@ -685,13 +685,12 @@ static void do_field(const unsigned char* start, const unsigned char* end)
ptr += 2 + 2 + 4 + (1 + fieldtype->stmember_v2.p_name.namelen);
break;
#if 0
case LF_FRIENDFCN_V3:
printf("\t\tFriend function V3: '%s' type:%x\n",
fieldtype->friendfcn_v3.name,
fieldtype->friendfcn_v3.type);
ptr += 2 + 2 + 4 + (strlen(fieldtype->stmember_v3.name) + 1);
break;
#endif
case LF_BCLASS_V1:
leaf_len = numeric_leaf(&value, &fieldtype->bclass_v1.offset);