Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIJSContextStack.d @ 348:9a4d7706df52
Test Update to fix linux XPCOM interface issues
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 21:46:44 -0700 |
parents | 942da4b6558a |
children |
comparison
equal
deleted
inserted
replaced
347:ff6dd48f5248 | 348:9a4d7706df52 |
---|---|
12 | 12 |
13 const nsIID NS_IJSCONTEXTSTACK_IID= | 13 const nsIID NS_IJSCONTEXTSTACK_IID= |
14 {0xc67d8270, 0x3189, 0x11d3, | 14 {0xc67d8270, 0x3189, 0x11d3, |
15 [ 0x98, 0x85, 0x00, 0x60, 0x08, 0x96, 0x24, 0x22 ]}; | 15 [ 0x98, 0x85, 0x00, 0x60, 0x08, 0x96, 0x24, 0x22 ]}; |
16 | 16 |
17 //extern(System) | |
18 | |
19 interface nsIJSContextStack : nsISupports { | 17 interface nsIJSContextStack : nsISupports { |
20 | 18 |
21 static const char[] IID_STR = NS_IJSCONTEXTSTACK_IID_STR; | 19 static const char[] IID_STR = NS_IJSCONTEXTSTACK_IID_STR; |
22 static const nsIID IID = NS_IJSCONTEXTSTACK_IID; | 20 static const nsIID IID = NS_IJSCONTEXTSTACK_IID; |
23 | 21 |
22 extern(System): | |
24 nsresult GetCount(PRInt32 *aCount); | 23 nsresult GetCount(PRInt32 *aCount); |
25 nsresult Peek(JSContext * *_retval); | 24 nsresult Peek(JSContext * *_retval); |
26 nsresult Pop(JSContext * *_retval); | 25 nsresult Pop(JSContext * *_retval); |
27 nsresult Push(JSContext * cx); | 26 nsresult Push(JSContext * cx); |
28 | 27 |
36 | 35 |
37 const nsIID NS_IJSCONTEXTSTACKITERATOR_IID= | 36 const nsIID NS_IJSCONTEXTSTACKITERATOR_IID= |
38 {0xc7e6b7aa, 0xfc12, 0x4ca7, | 37 {0xc7e6b7aa, 0xfc12, 0x4ca7, |
39 [ 0xb1, 0x40, 0x98, 0xc3, 0x8b, 0x69, 0x89, 0x61 ]}; | 38 [ 0xb1, 0x40, 0x98, 0xc3, 0x8b, 0x69, 0x89, 0x61 ]}; |
40 | 39 |
41 //extern(System) | |
42 | |
43 interface nsIJSContextStackIterator : nsISupports { | 40 interface nsIJSContextStackIterator : nsISupports { |
44 | 41 |
45 static const char[] IID_STR = NS_IJSCONTEXTSTACKITERATOR_IID_STR; | 42 static const char[] IID_STR = NS_IJSCONTEXTSTACKITERATOR_IID_STR; |
46 static const nsIID IID = NS_IJSCONTEXTSTACKITERATOR_IID; | 43 static const nsIID IID = NS_IJSCONTEXTSTACKITERATOR_IID; |
47 | 44 |
45 extern(System): | |
48 nsresult Reset(nsIJSContextStack stack); | 46 nsresult Reset(nsIJSContextStack stack); |
49 nsresult Done(PRBool *_retval); | 47 nsresult Done(PRBool *_retval); |
50 nsresult Prev(JSContext * *_retval); | 48 nsresult Prev(JSContext * *_retval); |
51 | 49 |
52 } | 50 } |
59 | 57 |
60 const nsIID NS_ITHREADJSCONTEXTSTACK_IID= | 58 const nsIID NS_ITHREADJSCONTEXTSTACK_IID= |
61 {0xa1339ae0, 0x05c1, 0x11d4, | 59 {0xa1339ae0, 0x05c1, 0x11d4, |
62 [ 0x8f, 0x92, 0x00, 0x10, 0xa4, 0xe7, 0x3d, 0x9a ]}; | 60 [ 0x8f, 0x92, 0x00, 0x10, 0xa4, 0xe7, 0x3d, 0x9a ]}; |
63 | 61 |
64 //extern(System) | |
65 | |
66 interface nsIThreadJSContextStack : nsIJSContextStack { | 62 interface nsIThreadJSContextStack : nsIJSContextStack { |
67 | 63 |
68 static const char[] IID_STR = NS_ITHREADJSCONTEXTSTACK_IID_STR; | 64 static const char[] IID_STR = NS_ITHREADJSCONTEXTSTACK_IID_STR; |
69 static const nsIID IID = NS_ITHREADJSCONTEXTSTACK_IID; | 65 static const nsIID IID = NS_ITHREADJSCONTEXTSTACK_IID; |
70 | 66 |
67 extern(System): | |
71 nsresult GetSafeJSContext(JSContext * *aSafeJSContext); | 68 nsresult GetSafeJSContext(JSContext * *aSafeJSContext); |
72 nsresult SetSafeJSContext(JSContext * aSafeJSContext); | 69 nsresult SetSafeJSContext(JSContext * aSafeJSContext); |
73 | 70 |
74 } | 71 } |
75 | 72 |