
Add a struct that matches the C++ interface vtable. This requires that the C++ interface methods are declared to use the same calling convention as normal C functions, and that the C struct exactly matches the layout and ordering of the C++ virtual table - MSVC seemed to reorder methods if there were overloaded methods.