Commit 1096ac38 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Vitaly Lipatov

widl: Add support for VT_VOID and VT_VARIANT to SLTG typelib generator.

parent 63ce8084
......@@ -549,6 +549,12 @@ static int get_element_size(type_t *type)
case VT_LPWSTR:
return pointer_size;
case VT_VOID:
return 0;
case VT_VARIANT:
return pointer_size == 8 ? 24 : 16;
default:
error("get_element_size: unrecognized vt %d\n", vt);
break;
......
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