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=8425ddd3aa312b8b97a02cc9b4d199f8a561fb75;hp=1e0c87a5b60f415e97dfb49569fb70e049b9eb28;hb=188a395421d2ed7038735d0e3cac37255cf45755;hpb=15d9baeca05f30f8564785c255fed765ede457ff diff --git a/idlcomp/languages/c++/marshall.cc b/idlcomp/languages/c++/marshall.cc index 1e0c87a..8425ddd 100644 --- a/idlcomp/languages/c++/marshall.cc +++ b/idlcomp/languages/c++/marshall.cc @@ -14,3 +14,27 @@ #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; +} + +void CPPFile::output_marshall(Struct *sym) +{ + file << indent; + +}