diff options
author | Grant Gayed <grant_gayed@ca.ibm.com> | 2013-06-25 11:20:27 -0400 |
---|---|---|
committer | Grant Gayed <grant_gayed@ca.ibm.com> | 2013-06-25 11:20:27 -0400 |
commit | 61ef4aabdf27aa1ae4bf019955e3166ba778c10f (patch) | |
tree | 6ea0ab082476479a8043ebff6f4cd97d207b8134 /bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIMemory.java | |
parent | b05ed3b2410bf9880ea77e7dcf0101adc35a621a (diff) | |
download | eclipse.platform.swt-61ef4aabdf27aa1ae4bf019955e3166ba778c10f.tar.gz eclipse.platform.swt-61ef4aabdf27aa1ae4bf019955e3166ba778c10f.tar.xz eclipse.platform.swt-61ef4aabdf27aa1ae4bf019955e3166ba778c10f.zip |
Bug 411058 - finish trimming XPCOM interfaces down to the functions that
are used
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIMemory.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIMemory.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIMemory.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIMemory.java index d3b47412f1..2fbed867c2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIMemory.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIMemory.java @@ -45,19 +45,7 @@ public class nsIMemory extends nsISupports { return XPCOM.nsIMemory_Alloc(getAddress(), size); } - public long /*int*/ Realloc(long /*int*/ ptr, int newSize) { - return XPCOM.nsIMemory_Realloc(getAddress(), ptr, newSize); - } - public int Free(long /*int*/ ptr) { return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), ptr); } - - public int HeapMinimize(int immediate) { - return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress(), immediate); - } - - public int IsLowMemory(int[] _retval) { - return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5, getAddress(), _retval); - } } |