X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=idlcomp%2Flanguages%2Fc%2B%2B%2Fmarshall.cc;h=ca7a2f960e14c4b6dd2e38864293e483b92af321;hp=1e0c87a5b60f415e97dfb49569fb70e049b9eb28;hb=bc696ad9b0d5a2ad04e2de5ad8b89f746dd78491;hpb=15d9baeca05f30f8564785c255fed765ede457ff diff --git a/idlcomp/languages/c++/marshall.cc b/idlcomp/languages/c++/marshall.cc index 1e0c87a..ca7a2f9 100644 --- a/idlcomp/languages/c++/marshall.cc +++ b/idlcomp/languages/c++/marshall.cc @@ -14,3 +14,21 @@ #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; +}