Re: nsXPIDLArray

2012-10-22 Thread Neil
Joshua Cranmer wrote: On 10/21/2012 12:31 PM, Neil wrote: While reviewing a patch that had to call into login manager from C++ I noticed that we don't have an RAII class for handling the array outparam. Would one be appreciated? I have written something that I call nsXPIDLArray, whi

Re: nsXPIDLArray

2012-10-21 Thread Joshua Cranmer
On 10/21/2012 12:31 PM, Neil wrote: While reviewing a patch that had to call into login manager from C++ I noticed that we don't have an RAII class for handling the array outparam. Would one be appreciated? I have written something that I call nsXPIDLArray, which so far has the foll

nsXPIDLArray

2012-10-21 Thread Neil
While reviewing a patch that had to call into login manager from C++ I noticed that we don't have an RAII class for handling the array outparam. Would one be appreciated? I have written something that I call nsXPIDLArray, which so far has the following features: * Most of the work ha