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=2391b37980b9e1476e15b6a94e008d918fff415c;hp=1e0c87a5b60f415e97dfb49569fb70e049b9eb28;hb=5adc890ffae4f90536e72bc32ef83e1141689520;hpb=f8bdc6f9e7106aa7786ee19269ab9a2e4c307476 diff --git a/idlcomp/languages/c++/marshall.cc b/idlcomp/languages/c++/marshall.cc index 1e0c87a..2391b37 100644 --- a/idlcomp/languages/c++/marshall.cc +++ b/idlcomp/languages/c++/marshall.cc @@ -14,3 +14,14 @@ #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; +}