comparison dwt/internal/mozilla/nsITraceRefcnt.d @ 327:b0d7eb5bd76c

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author John Reimer <terminal.node@gmail.com>
date Fri, 02 Jan 2009 17:45:10 -0800
parents
children
comparison
equal deleted inserted replaced
326:e4d29367b1fa 327:b0d7eb5bd76c
1 module dwt.internal.mozilla.nsITraceRefcnt;
2
3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.nsISupports;
6
7 const char[] NS_ITRACEREFCNT_IID_STR = "273dc92f-0fe6-4545-96a9-21be77828039";
8
9 const nsIID NS_ITRACEREFCNT_IID=
10 {0x273dc92f, 0x0fe6, 0x4545,
11 [ 0x96, 0xa9, 0x21, 0xbe, 0x77, 0x82, 0x80, 0x39 ]};
12
13 interface nsITraceRefcnt : nsISupports {
14 static const char[] IID_STR = NS_ITRACEREFCNT_IID_STR;
15 static const nsIID IID = NS_ITRACEREFCNT_IID;
16
17 extern(System):
18 nsresult LogAddRef(void * aPtr, nsrefcnt aNewRefcnt, char *aTypeName, PRUint32 aInstanceSize);
19 nsresult LogRelease(void * aPtr, nsrefcnt aNewRefcnt, char *aTypeName);
20 nsresult LogCtor(void * aPtr, char *aTypeName, PRUint32 aInstanceSize);
21 nsresult LogDtor(void * aPtr, char *aTypeName, PRUint32 aInstanceSize);
22 nsresult LogAddCOMPtr(void * aPtr, nsISupports aObject);
23 nsresult LogReleaseCOMPtr(void * aPtr, nsISupports aObject);
24 }
25