mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 133657 nsISupportsVoid should have/use [noscript] attribute voidPtr data;
r=dougt sr=dveditz a=asa
This commit is contained in:
parent
a54c9c1278
commit
dc372ad5dc
@ -103,7 +103,7 @@ nsHTTPChunkConv::AsyncConvertData (
|
||||
mAsyncConvContext = (nsISupportsVoid *) aCtxt;
|
||||
if (mAsyncConvContext)
|
||||
{
|
||||
const void *p;
|
||||
void *p;
|
||||
mAsyncConvContext -> GetData (&p);
|
||||
mChunkContext = (nsHTTPChunkConvContext *)p;
|
||||
}
|
||||
|
@ -219,12 +219,7 @@ interface nsISupportsDouble : nsISupportsPrimitive
|
||||
[scriptable, uuid(464484f0-568d-11d3-baf8-00805f8a5dd7)]
|
||||
interface nsISupportsVoid : nsISupportsPrimitive
|
||||
{
|
||||
/*
|
||||
* This would be: "[noscript] attribute voidPtr data;" but for...
|
||||
* http://bugzilla.mozilla.org/show_bug.cgi?id=11454
|
||||
*/
|
||||
[noscript] void GetData([shared,retval] out voidPtr aData);
|
||||
[noscript] void SetData(in voidPtr aData);
|
||||
[noscript] attribute voidPtr data;
|
||||
string toString();
|
||||
};
|
||||
|
||||
|
@ -938,7 +938,7 @@ NS_IMETHODIMP nsSupportsVoidImpl::GetType(PRUint16 *aType)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsSupportsVoidImpl::GetData(const void * *aData)
|
||||
NS_IMETHODIMP nsSupportsVoidImpl::GetData(void * *aData)
|
||||
{
|
||||
NS_ASSERTION(aData, "Bad pointer");
|
||||
*aData = mData;
|
||||
|
Loading…
Reference in New Issue
Block a user