canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,334
edits
(→Proposed Obsolete API: NS_GET_IID()) |
(→Proposed Obsolete API: nsAString) |
||
Line 19: | Line 19: | ||
* NS_GET_IID() and T::GetIID, except when NS_GET_IID is used on a template parameter. | * NS_GET_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 | |||
** use ns[C]Substring when nsA[C]String is not required by existing APIs (although it is still required by XPCOM interfaces) |