gecko-dev/modules/libjar
Kris Maglione 8340513b0c Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz
Using concrete class types with static IIDs in QueryInterface methods is a
pretty common pattern which isn't supported by any existing helper macros.
That's lead to separate ad-hoc implementations, with varying degrees of
dodginess, being scattered around the tree.

This patch adds a helper macro with a canonical (and safe) implementation, and
updates existing ad-hoc users to use it.

MozReview-Commit-ID: HaTGF7MN5Cv

--HG--
extra : rebase_source : ace930129d85960d22bc3048ca3bb19bbbd4a63e
extra : histedit_source : 03a87f746d957789d41381e4e1bfcc4fd7eebaf2%2C9c5bae9feeeef7721105db67be0f83e0ded66bb7
2018-05-21 16:33:18 -07:00
..
test
zipwriter Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
appnote.txt
moz.build
nsIJARChannel.idl
nsIJARFactory.h
nsIJARProtocolHandler.idl
nsIJARURI.idl
nsIZipReader.idl
nsJAR.cpp
nsJAR.h
nsJARChannel.cpp
nsJARChannel.h
nsJARFactory.cpp
nsJARInputStream.cpp
nsJARInputStream.h
nsJARProtocolHandler.cpp
nsJARProtocolHandler.h
nsJARURI.cpp Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz 2018-05-21 16:33:18 -07:00
nsJARURI.h
nsZipArchive.cpp
nsZipArchive.h
zipstruct.h