@copy-declaration

6 posts / 0 new
Last post
Offline
Last seen: 9 years 7 months ago
Joined: 12/08/2011
Posts: 10
Use of //@copy-declaration in IDL files that are included by other IDL files

Hello everybody

I am seeing some odd behavior when I use the @copy-declaration directive in IDL files which are included in other IDL files. Here is an example:
Let's say I have the file  base.idl with the following content:

module IDL {
//@copy-declaration // A Data
struct A {
  double i;
};
}; // end module IDL

//@copy-declaration #include <QtCore/QMetaType>
//@copy-declaration Q_DECLARE_METATYPE(IDL::A);

and a file  extended.idl with this content:

Subscribe to RSS - @copy-declaration