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"
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
,
20 in unsigned long aInstanceSize
);
22 void logRelease
(in voidPtr aPtr
,
23 in nsrefcnt aNewRefcnt
,
26 void logCtor
(in voidPtr aPtr
,
28 in unsigned long aInstanceSize
);
30 void logDtor
(in voidPtr aPtr
,
32 in unsigned long aInstanceSize
);
35 void logAddCOMPtr
(in voidPtr aPtr
, in nsISupports aObject
);
37 void logReleaseCOMPtr
(in voidPtr aPtr
, in nsISupports aObject
);