]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/languages/c++/marshall.cc
xfer to laptop
[polintos/scott/priv.git] / idlcomp / languages / c++ / marshall.cc
index 1e0c87a5b60f415e97dfb49569fb70e049b9eb28..ca7a2f960e14c4b6dd2e38864293e483b92af321 100644 (file)
 
 #include "c++.h"
 
+void CPPFile::output_ifaceinfo(Interface *iface)
+{
+       extra_newline();
+
+#if 0
+       file << indent << "void _invoke(::System::RunTime::Array"
+                      << "< ::System::RunTime::ID> objlist,\n"
+            << indent << "             ::System::RunTime::ParamInfoBlock::Segment *segs,\n"
+            << indent << "             int nsegs);\n\n";
+#endif
+
+       file << indent << "static const __attribute__((unused))\n"
+            << indent << "::System::RunTime::IFaceInfo _info = {\n"
+            << indent << "\t&_guid,\n"
+            << indent << "};\n";
+       
+       do_extra_newline = true;
+}