]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/languages/c++/marshall.cc
Add IFaceInfo.
[polintos/scott/priv.git] / idlcomp / languages / c++ / marshall.cc
index 1e0c87a5b60f415e97dfb49569fb70e049b9eb28..2391b37980b9e1476e15b6a94e008d918fff415c 100644 (file)
 
 #include "c++.h"
 
+void CPPFile::output_ifaceinfo(Interface *iface)
+{
+       extra_newline();
+
+       file << indent << "static const __attribute__((unused))\n"
+            << indent << "::System::RunTime::IFaceInfo _info = {\n"
+            << indent << "\t&_guid,\n"
+            << indent << "};\n";
+       
+       do_extra_newline = true;
+}