Gecko:Obsolete API: Difference between revisions

m
Line 17: Line 17:
= Proposed Obsolete API =
= Proposed Obsolete API =


* NS_GET_IID() and T::GetIID, except when NS_GET_IID is used on a template parameter.
* NS_GET_IID, NS_DEFINE_IID, and T::GetIID, except when NS_GET_IID is used on a template parameter.
** Instead, use function templates (like CallQueryInterface) or nsCOMPtr_helpers (like do_QueryInterface) to tie the XPCOM and C++ type systems together rather than casting between the two type systems.
** Instead, use function templates (like CallQueryInterface) or nsCOMPtr_helpers (like do_QueryInterface) to tie the XPCOM and C++ type systems together rather than casting between the two type systems.
* nsA[C]String
* nsA[C]String
canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,334

edits