Gecko:Obsolete API: Difference between revisions

→‎Obsolete API: change guide links to point directly to MDC
(→‎Obsolete API: change guide links to point directly to MDC)
Line 13: Line 13:
* ns(I)SupportsArray, nsIEnumerator
* ns(I)SupportsArray, nsIEnumerator
** nsSupportsArray is very inefficient and has a bad API
** nsSupportsArray is very inefficient and has a bad API
** Use any of the arrays in [http://www.mozilla.org/projects/xpcom/array-guide.html The Mozilla Array Guide].
** Use any of the arrays in [[mdc:XPCOM_array_guide|The Mozilla Array Guide]].
* nsVoidArray
* nsVoidArray
** Doesn't provide typesafety
** Doesn't provide typesafety
Line 22: Line 22:
* nsHashtable
* nsHashtable
** Non-typesafe wrapper around pldhash.
** Non-typesafe wrapper around pldhash.
** Use one of the hashtables in [http://www.mozilla.org/projects/xpcom/hashtable-guide.html The Mozilla Hashtable Guide]
** Use one of the hashtables in [[mdc:XPCOM_hashtable_guide|The Mozilla Hashtable Guide]]
* nsIBox
* nsIBox
** This is now just a typedef for nsIFrame.
** This is now just a typedef for nsIFrame.
Confirmed users
161

edits