const unsigned char *guid = reinterpret_cast<const unsigned char *>(guid64);
char guidhex[7];
- file << indent << "static const __attribute__((unused)) union {\n"
- << indent << "\tunsigned char c[16];\n"
- << indent << "\tunsigned long l[];\n"
- << indent << "} _guid = {\n"
+ file << indent << "static const __attribute__((unused))\n"
+ << indent << "::System::RunTime::GUID _guid = {\n"
<< indent << "\t{ ";
for (int i = 0; i < 16; i++) {
file << indent << "};\n\n"
<< indent << "static const __attribute__((unused)) "
"::System::RunTime::VStructInfo _info = {\n"
- << indent << "\t_guids, " << sym->chainlen << '\n'
+ << indent << "\t_guids, " << sym->chainlen << ",\n"
+#if 0
+ << indent << "\t_marshall, _unmarshall,\n"
+#endif
<< indent << "};\n";
{
Interface *i = dynamic_cast<Interface *>(sym);
assert(i);
-
+
file->output_guid(i->def.guid);
+ file->output_ifaceinfo(i);
}
void CPPFile::output(Interface *sym, int pass, void *arg2)