You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.


TOC PREV NEXT INDEX

Embedding Gecko API


nsISupportsWeakReference


This interface provides access to a factory which produces appropriate instances of nsIWeakReference. Weak references in this scheme can only be produced for objects that implement this interface. This interface is scriptable.

See also: nsIWeakReference

Methods
GetWeakReference

Returns an appropriate instance of nsIWeakReference.The caller owns the resulting interface and should manage it with an nsCOMPtr.

Syntax:

nsIWeakReference nsISupportsWeakReference::GetWeakReference()  

Parameters:

None.

nsresult:

NS_OK if successful.

Written by:Ellen Evans | Comments, questions, complaints? Bug 143387
TOC PREV NEXT INDEX