On Fri, Apr 18, 2014 at 4:56 PM, Neil <n...@parkwaycc.co.uk> wrote: > L. David Baron wrote: > >> Classes that use the NS_IMPL_ISUPPORTSn or NS_IMPL_ADDREF + >> NS_IMPL_RELEASE macros should use the fully qualified class name and not >> depend on being inside namespace declarations. >> > > One of our compilers complains if you try to define something in a different > namespace to the one in which you declared it, so the NS_IMPL_ macros need > to be in the same namespace as the class. > > -- > Warning: May contain traces of nuts. > > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform
I believe using declarations and top-level use of the macros works fine. - Kyle _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform