Commit 90cdff9b authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

widl: Set typelib_idx for coclasses when they're added to a typelib.

parent c67b19b4
......@@ -2070,6 +2070,7 @@ static void add_coclass_typeinfo(msft_typelib_t *typelib, type_t *cls)
int have_default = 0, have_default_source = 0;
const attr_t *attr;
cls->typelib_idx = typelib->typelib_header.nrtypeinfos;
msft_typeinfo = create_msft_typeinfo(typelib, TKIND_COCLASS, cls->name, cls->attrs,
typelib->typelib_header.nrtypeinfos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment