Bug 959405 - Please update the Buri Moz-central, 1.3, 1.2 with the latest blobs from...
[gecko.git] / xpcom / base / nsITraceRefcnt.idl
blob174b235469f942b6f17432585ccbf58b1d794f5f
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsISupports.idl"
8 /**
9 * nsITraceRefcnt is an interface between XPCOM Glue and XPCOM.
11 * @status DEPRECATED Replaced by the NS_Log* functions.
14 [uuid(273dc92f-0fe6-4545-96a9-21be77828039)]
15 interface nsITraceRefcnt : nsISupports
17 void logAddRef(in voidPtr aPtr,
18 in nsrefcnt aNewRefcnt,
19 in string aTypeName,
20 in unsigned long aInstanceSize);
22 void logRelease(in voidPtr aPtr,
23 in nsrefcnt aNewRefcnt,
24 in string aTypeName);
26 void logCtor(in voidPtr aPtr,
27 in string aTypeName,
28 in unsigned long aInstanceSize);
30 void logDtor(in voidPtr aPtr,
31 in string aTypeName,
32 in unsigned long aInstanceSize);
35 void logAddCOMPtr(in voidPtr aPtr, in nsISupports aObject);
37 void logReleaseCOMPtr(in voidPtr aPtr, in nsISupports aObject);