mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 20:17:38 +00:00
widl: Added RPC_FC_ENUM16 encoding.
This commit is contained in:
parent
4812abc247
commit
dce3f2be05
|
@ -666,6 +666,8 @@ static int alloc_importfile(
|
||||||
|
|
||||||
static void add_structure_typeinfo(msft_typelib_t *typelib, type_t *structure);
|
static void add_structure_typeinfo(msft_typelib_t *typelib, type_t *structure);
|
||||||
static void add_interface_typeinfo(msft_typelib_t *typelib, type_t *interface);
|
static void add_interface_typeinfo(msft_typelib_t *typelib, type_t *interface);
|
||||||
|
static void add_enum_typeinfo(msft_typelib_t *typelib, type_t *enumeration);
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* encode_type
|
* encode_type
|
||||||
|
@ -894,6 +896,9 @@ static int encode_type(
|
||||||
case RPC_FC_IP:
|
case RPC_FC_IP:
|
||||||
add_interface_typeinfo(typelib, type);
|
add_interface_typeinfo(typelib, type);
|
||||||
break;
|
break;
|
||||||
|
case RPC_FC_ENUM16:
|
||||||
|
add_enum_typeinfo(typelib, type);
|
||||||
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
error("encode_type: VT_USERDEFINED - can't yet add typedef's on the fly\n");
|
error("encode_type: VT_USERDEFINED - can't yet add typedef's on the fly\n");
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue