Merge SetRetval into FinalizeParams. Check invokeResult when doing cleanup in FinalizeParams. Not part of build. a=mkaply.

Original committer: pedemont%us.ibm.com
Original revision: 1.26
Original date: 2005/04/14 21:46:11
This commit is contained in:
pedemont%us.ibm.com 2006-09-27 15:18:14 +00:00
Родитель 1ba5294eb7
Коммит 88ac159a77
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -266,14 +266,11 @@ protected:
* @param aXPCOMObject XPCOM object for which to find/create Java object * @param aXPCOMObject XPCOM object for which to find/create Java object
* @param aIID desired interface IID for Java object * @param aIID desired interface IID for Java object
* @param aResult on success, holds reference to Java object * @param aResult on success, holds reference to Java object
* @param aIsNewProxy on success, holds PR_TRUE if aResult points to newlyXPTCStub;
* created Java proxy; PR_FALSE otherwise
* *
* @return NS_OK if succeeded; all other return values are error codes. * @return NS_OK if succeeded; all other return values are error codes.
*/ */
nsresult GetNewOrUsedJavaObject(JNIEnv* env, nsISupports* aXPCOMObject, nsresult GetNewOrUsedJavaObject(JNIEnv* env, nsISupports* aXPCOMObject,
const nsIID& aIID, jobject* aResult, const nsIID& aIID, jobject* aResult);
PRBool* aIsNewProxy);
/** /**
* Finds the associated XPCOM object for the given Java object and IID. If no * Finds the associated XPCOM object for the given Java object and IID. If no