Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIMemory.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 |
---|---|
8 | 8 |
9 const nsIID NS_IMEMORY_IID= | 9 const nsIID NS_IMEMORY_IID= |
10 {0x59e7e77a, 0x38e4, 0x11d4, | 10 {0x59e7e77a, 0x38e4, 0x11d4, |
11 [ 0x8c, 0xf5, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 ]}; | 11 [ 0x8c, 0xf5, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 ]}; |
12 | 12 |
13 //extern(System) | |
14 interface nsIMemory : nsISupports { | 13 interface nsIMemory : nsISupports { |
15 static const char[] IID_STR = NS_IMEMORY_IID_STR; | 14 static const char[] IID_STR = NS_IMEMORY_IID_STR; |
16 static const nsIID IID = NS_IMEMORY_IID; | 15 static const nsIID IID = NS_IMEMORY_IID; |
17 | 16 |
17 extern(System): | |
18 void * Alloc(size_t size); | 18 void * Alloc(size_t size); |
19 void * Realloc(void * ptr, size_t newSize); | 19 void * Realloc(void * ptr, size_t newSize); |
20 void Free(void * ptr); | 20 void Free(void * ptr); |
21 nsresult HeapMinimize(PRBool immediate); | 21 nsresult HeapMinimize(PRBool immediate); |
22 nsresult IsLowMemory(PRBool *_retval); | 22 nsresult IsLowMemory(PRBool *_retval); |