Re: NS_NewArrayEnumerator

2012-12-19 Thread Neil
Benjamin Smedberg wrote: On 12/18/2012 11:05 AM, Neil wrote: While looking at tbsaunde's patch to remove the nsISupportsArray version of NS_NewArrayEnumerator I noticed that many users of NS_NewArrayEnumerator copy entries from a hash into a temporary array which they then enumerate, which

NS_NewArrayEnumerator

2012-12-18 Thread Neil
While looking at tbsaunde's patch to remove the nsISupportsArray version of NS_NewArrayEnumerator I noticed that many users of NS_NewArrayEnumerator copy entries from a hash into a temporary array which they then enumerate, which works by creating an instance of an enumerator class

Re: NS_NewArrayEnumerator

2012-12-18 Thread Benjamin Smedberg
On 12/18/2012 11:05 AM, Neil wrote: While looking at tbsaunde's patch to remove the nsISupportsArray version of NS_NewArrayEnumerator I noticed that many users of NS_NewArrayEnumerator copy entries from a hash into a temporary array which they then enumerate, which works by creating