3 // This software is copyright (c) 2007 Scott Wood <scott@buserror.net>.
5 // This software is provided 'as-is', without any express or implied warranty.
6 // In no event will the authors or contributors be held liable for any damages
7 // arising from the use of this software.
9 // Permission is hereby granted to everyone, free of charge, to use, copy,
10 // modify, prepare derivative works of, publish, distribute, perform,
11 // sublicense, and/or sell copies of the Software, provided that the above
12 // copyright notice and disclaimer of warranty be included in all copies or
13 // substantial portions of this software.
17 void CPPFile::output_ifaceinfo(Interface *iface)
21 file << indent << "static const __attribute__((unused))\n"
22 << indent << "::System::RunTime::IFaceInfo _info = {\n"
23 << indent << "\t&_guid,\n"
26 do_extra_newline = true;