diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit')
24 files changed, 158 insertions, 158 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebCookieManager.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebCookieManager.java index d4397ab865..1ef7c4e79e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebCookieManager.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebCookieManager.java @@ -15,11 +15,11 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebCookieManager extends IUnknown { -public IWebCookieManager (int /*long*/ address) { +public IWebCookieManager (long /*int*/ address) { super (address); } -public int cookieStorage (int /*long*/[] storage) { +public int cookieStorage (long /*int*/[] storage) { return COM.VtblCall (3, getAddress (), storage); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDataSource.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDataSource.java index 800f44fb4c..5ea4d166ce 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDataSource.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDataSource.java @@ -15,23 +15,23 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebDataSource extends IUnknown { -public IWebDataSource (int /*long*/ address) { +public IWebDataSource (long /*int*/ address) { super (address); } -public int representation (int /*long*/[] rep) { +public int representation (long /*int*/[] rep) { return COM.VtblCall (5, getAddress (), rep); } -public int webFrame (int /*long*/[] frame) { +public int webFrame (long /*int*/[] frame) { return COM.VtblCall (6, getAddress (), frame); } -public int request (int /*long*/[] request) { +public int request (long /*int*/[] request) { return COM.VtblCall (8, getAddress (), request); } -public int pageTitle (int /*long*/[] title) { +public int pageTitle (long /*int*/[] title) { return COM.VtblCall (12, getAddress (), title); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDocumentRepresentation.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDocumentRepresentation.java index f8c2518b65..2b6317c749 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDocumentRepresentation.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDocumentRepresentation.java @@ -15,11 +15,11 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebDocumentRepresentation extends IUnknown { -public IWebDocumentRepresentation (int /*long*/ address) { +public IWebDocumentRepresentation (long /*int*/ address) { super (address); } -public int documentSource (int /*long*/[] source) { +public int documentSource (long /*int*/[] source) { return COM.VtblCall (8, getAddress (), source); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDownload.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDownload.java index 6465774ec8..e2e3f9e52a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDownload.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebDownload.java @@ -15,7 +15,7 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebDownload extends IUnknown { -public IWebDownload (int /*long*/ address) { +public IWebDownload (long /*int*/ address) { super (address); } @@ -27,7 +27,7 @@ public int setDeletesFileUponFailure (int deletesFileUponFailure) { return COM.VtblCall (12, getAddress (), deletesFileUponFailure); } -public int setDestination (int /*long*/ path, int allowOverwrite) { +public int setDestination (long /*int*/ path, int allowOverwrite) { return COM.VtblCall (13, getAddress(), path, allowOverwrite); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebError.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebError.java index 3b48b5b3bc..41d2c934cc 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebError.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebError.java @@ -15,7 +15,7 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebError extends IUnknown { -public IWebError (int /*long*/ address) { +public IWebError (long /*int*/ address) { super (address); } @@ -23,23 +23,23 @@ public int code (int[] result) { return COM.VtblCall (4, getAddress (), result); } -//public int domain (int /*long*/[] result) { +//public int domain (long /*int*/[] result) { // return COM.VtblCall (5, getAddress (), result); //} -public int localizedDescription (int /*long*/[] result) { +public int localizedDescription (long /*int*/[] result) { return COM.VtblCall (6, getAddress (), result); } -//public int localizedFailureReason (int /*long*/[] result) { +//public int localizedFailureReason (long /*int*/[] result) { // return COM.VtblCall (7, getAddress (), result); //} -//public int userInfo (int /*long*/[] result) { +//public int userInfo (long /*int*/[] result) { //return COM.VtblCall (11, getAddress (), result); //} -public int failingURL (int /*long*/[] result) { +public int failingURL (long /*int*/[] result) { return COM.VtblCall (12, getAddress (), result); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebErrorPrivate.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebErrorPrivate.java index cd69d6826f..caaedc1de6 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebErrorPrivate.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebErrorPrivate.java @@ -15,11 +15,11 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebErrorPrivate extends IUnknown { -public IWebErrorPrivate (int /*long*/ address) { +public IWebErrorPrivate (long /*int*/ address) { super (address); } -public int sslPeerCertificate (int /*long*/[] result) { +public int sslPeerCertificate (long /*int*/[] result) { return COM.VtblCall (3, getAddress (), result); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebFrame.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebFrame.java index eeb23725fa..88d36b0598 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebFrame.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebFrame.java @@ -15,23 +15,23 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebFrame extends IUnknown { -public IWebFrame (int /*long*/ address) { +public IWebFrame (long /*int*/ address) { super (address); } -public int loadRequest (int /*long*/ request) { +public int loadRequest (long /*int*/ request) { return COM.VtblCall (8, getAddress (), request); } -public int loadHTMLString (int /*long*/ string, int /*long*/ baseURL) { +public int loadHTMLString (long /*int*/ string, long /*int*/ baseURL) { return COM.VtblCall (10, getAddress (), string, baseURL); } -public int dataSource (int /*long*/[] source) { +public int dataSource (long /*int*/[] source) { return COM.VtblCall (13, getAddress (), source); } -public int /*long*/ globalContext () { +public long /*int*/ globalContext () { return COM.VtblCall (23, getAddress ()); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebFramePrivate.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebFramePrivate.java index f349a53d51..a41bcbc38f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebFramePrivate.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebFramePrivate.java @@ -15,19 +15,19 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebFramePrivate extends IUnknown { -public IWebFramePrivate (int /*long*/ address) { +public IWebFramePrivate (long /*int*/ address) { super (address); } -public int setInPrintingMode (int value, int /*long*/ printDC) { +public int setInPrintingMode (int value, long /*int*/ printDC) { return COM.VtblCall (8, getAddress (), value, printDC); } -public int getPrintedPageCount (int /*long*/ printDC, int[] pageCount) { +public int getPrintedPageCount (long /*int*/ printDC, int[] pageCount) { return COM.VtblCall (9, getAddress (), printDC, pageCount); } -public int spoolPages (int /*long*/ printDC, int startPage, int endPage, int /*long*/[] ctx) { +public int spoolPages (long /*int*/ printDC, int startPage, int endPage, long /*int*/[] ctx) { return COM.VtblCall (10, getAddress (), printDC, startPage, endPage, ctx); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebIBActions.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebIBActions.java index 5d74cc3132..b90419f4ca 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebIBActions.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebIBActions.java @@ -15,23 +15,23 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebIBActions extends IUnknown { -public IWebIBActions (int /*long*/ address) { +public IWebIBActions (long /*int*/ address) { super (address); } -public int stopLoading (int /*long*/ sender) { +public int stopLoading (long /*int*/ sender) { return COM.VtblCall (4, getAddress (), sender); } -public int reload (int /*long*/ sender) { +public int reload (long /*int*/ sender) { return COM.VtblCall (5, getAddress (), sender); } -public int canGoBack (int /*long*/ sender, int[] result) { +public int canGoBack (long /*int*/ sender, int[] result) { return COM.VtblCall (6, getAddress (), sender, result); } -public int canGoForward (int /*long*/ sender, int[] result) { +public int canGoForward (long /*int*/ sender, int[] result) { return COM.VtblCall (8, getAddress (), sender, result); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebMutableURLRequest.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebMutableURLRequest.java index 6fb7512916..6961d82c5b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebMutableURLRequest.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebMutableURLRequest.java @@ -15,15 +15,15 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebMutableURLRequest extends IWebURLRequest { -public IWebMutableURLRequest (int /*long*/ address) { +public IWebMutableURLRequest (long /*int*/ address) { super (address); } -//public int setHTTPBody (int /*long*/ data) { +//public int setHTTPBody (long /*int*/ data) { // return COM.VtblCall (21, getAddress (), data); //} -//public int setHTTPBodyStream (int /*long*/ data) { +//public int setHTTPBodyStream (long /*int*/ data) { // return COM.VtblCall (22, getAddress (), data); //} @@ -31,11 +31,11 @@ public int setHTTPMethod (int post) { return COM.VtblCall (23, getAddress (), post); } -public int setURL (int /*long*/ theUrl) { +public int setURL (long /*int*/ theUrl) { return COM.VtblCall (27, getAddress (), theUrl); } -public int setValue (int /*long*/ value, int /*long*/ field) { +public int setValue (long /*int*/ value, long /*int*/ field) { return COM.VtblCall (28, getAddress (), value, field); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebMutableURLRequestPrivate.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebMutableURLRequestPrivate.java index 802f713f96..92a1ec92f5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebMutableURLRequestPrivate.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebMutableURLRequestPrivate.java @@ -15,11 +15,11 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebMutableURLRequestPrivate extends IUnknown { -public IWebMutableURLRequestPrivate (int /*long*/ address) { +public IWebMutableURLRequestPrivate (long /*int*/ address) { super (address); } -//public int setClientCertificate (int /*long*/ cert) { +//public int setClientCertificate (long /*int*/ cert) { //return COM.VtblCall (3, getAddress (), cert); //} diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebOpenPanelResultListener.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebOpenPanelResultListener.java index 9a36db3b00..261296426e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebOpenPanelResultListener.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebOpenPanelResultListener.java @@ -14,11 +14,11 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebOpenPanelResultListener extends IUnknown { -public IWebOpenPanelResultListener (int /*long*/ address) { +public IWebOpenPanelResultListener (long /*int*/ address) { super (address); } -public int chooseFilename (int /*long*/ fileName) { +public int chooseFilename (long /*int*/ fileName) { return COM.VtblCall (3, getAddress (), fileName); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java index e7e2116778..c1019a71d5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPolicyDecisionListener.java @@ -15,7 +15,7 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebPolicyDecisionListener extends IUnknown{ -public IWebPolicyDecisionListener (int /*long*/ address) { +public IWebPolicyDecisionListener (long /*int*/ address) { super (address); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPreferences.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPreferences.java index ad45d3cf6e..c8b72a9dd0 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPreferences.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebPreferences.java @@ -15,11 +15,11 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebPreferences extends IUnknown { -public IWebPreferences (int /*long*/ address) { +public IWebPreferences (long /*int*/ address) { super (address); } -public int initWithIdentifier (int /*long*/ identifier, int /*long*/[] preferences) { +public int initWithIdentifier (long /*int*/ identifier, long /*int*/[] preferences) { return COM.VtblCall (4, getAddress (), identifier, preferences); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLAuthenticationChallenge.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLAuthenticationChallenge.java index 0108468d45..69045ded2d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLAuthenticationChallenge.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLAuthenticationChallenge.java @@ -15,7 +15,7 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebURLAuthenticationChallenge extends IUnknown { -public IWebURLAuthenticationChallenge (int /*long*/ address) { +public IWebURLAuthenticationChallenge (long /*int*/ address) { super (address); } @@ -23,15 +23,15 @@ public int previousFailureCount (int[] result) { return COM.VtblCall (7, getAddress (), result); } -public int proposedCredential (int /*long*/[] result) { +public int proposedCredential (long /*int*/[] result) { return COM.VtblCall (8, getAddress (), result); } -public int protectionSpace (int /*long*/[] result) { +public int protectionSpace (long /*int*/[] result) { return COM.VtblCall (9, getAddress (), result); } -public int sender (int /*long*/[] sender) { +public int sender (long /*int*/[] sender) { return COM.VtblCall (10, getAddress (), sender); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLAuthenticationChallengeSender.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLAuthenticationChallengeSender.java index c5185b57f0..69339424db 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLAuthenticationChallengeSender.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLAuthenticationChallengeSender.java @@ -15,15 +15,15 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebURLAuthenticationChallengeSender extends IUnknown { -public IWebURLAuthenticationChallengeSender (int /*long*/ address) { +public IWebURLAuthenticationChallengeSender (long /*int*/ address) { super (address); } -public int cancelAuthenticationChallenge (int /*long*/ challenge) { +public int cancelAuthenticationChallenge (long /*int*/ challenge) { return COM.VtblCall (3, getAddress (), challenge); } -public int useCredential (int /*long*/ credential, int /*long*/ challenge) { +public int useCredential (long /*int*/ credential, long /*int*/ challenge) { return COM.VtblCall (5, getAddress (), credential, challenge); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLCredential.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLCredential.java index d2979c50e7..cfb5a2fbf2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLCredential.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLCredential.java @@ -15,7 +15,7 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebURLCredential extends IUnknown { -public IWebURLCredential (int /*long*/ address) { +public IWebURLCredential (long /*int*/ address) { super (address); } @@ -23,15 +23,15 @@ public int hasPassword (int[] result) { return COM.VtblCall (3, getAddress (), result); } -public int initWithUser (int /*long*/ user, int /*long*/ password, int /*long*/ persistence) { +public int initWithUser (long /*int*/ user, long /*int*/ password, long /*int*/ persistence) { return COM.VtblCall (4, getAddress (), user, password, persistence); } -public int password (int /*long*/[] password) { +public int password (long /*int*/[] password) { return COM.VtblCall (5, getAddress (), password); } -public int user (int /*long*/[] result) { +public int user (long /*int*/[] result) { return COM.VtblCall (7, getAddress (), result); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLProtectionSpace.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLProtectionSpace.java index c802d16e9f..297a53fee3 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLProtectionSpace.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLProtectionSpace.java @@ -15,11 +15,11 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebURLProtectionSpace extends IUnknown { -public IWebURLProtectionSpace(int /*long*/ address) { +public IWebURLProtectionSpace(long /*int*/ address) { super(address); } -public int host (int /*long*/[] result) { +public int host (long /*int*/[] result) { return COM.VtblCall (4, getAddress (), result); } @@ -27,7 +27,7 @@ public int port (int[] result) { return COM.VtblCall (8, getAddress (), result); } -public int realm (int /*long*/[] result) { +public int realm (long /*int*/[] result) { return COM.VtblCall (11, getAddress (), result); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLRequest.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLRequest.java index 11eee695ea..6e14ff0bcc 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLRequest.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLRequest.java @@ -15,23 +15,23 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebURLRequest extends IUnknown { -public IWebURLRequest (int /*long*/ address) { +public IWebURLRequest (long /*int*/ address) { super (address); } -//public int HTTPBody (int /*long*/[] result) { +//public int HTTPBody (long /*int*/[] result) { // return COM.VtblCall (6, getAddress (), result); //} -public int HTTPMethod (int /*long*/[] result) { +public int HTTPMethod (long /*int*/[] result) { return COM.VtblCall (8, getAddress (), result); } -public int URL (int /*long*/[] result) { +public int URL (long /*int*/[] result) { return COM.VtblCall (13, getAddress (), result); } -public int mutableCopy (int /*long*/[] result) { +public int mutableCopy (long /*int*/[] result) { return COM.VtblCall (16, getAddress (), result); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLResponse.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLResponse.java index 85650589df..f0a9e84608 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLResponse.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebURLResponse.java @@ -15,7 +15,7 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebURLResponse extends IUnknown { -public IWebURLResponse (int /*long*/ address) { +public IWebURLResponse (long /*int*/ address) { super (address); } @@ -23,7 +23,7 @@ public int expectedContentLength (long[] result) { return COM.VtblCall (3, getAddress (), result); } -public int URL (int /*long*/[] result) { +public int URL (long /*int*/[] result) { return COM.VtblCall (8, getAddress (), result); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebView.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebView.java index efbc5d3a65..70d9d44d7a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebView.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebView.java @@ -16,39 +16,39 @@ import org.eclipse.swt.internal.win32.*; public class IWebView extends IUnknown { -public IWebView (int /*long*/ address) { +public IWebView (long /*int*/ address) { super (address); } -public int canShowMIMEType (int /*long*/ mimeType, int[] canShow) { +public int canShowMIMEType (long /*int*/ mimeType, int[] canShow) { return COM.VtblCall (3, getAddress (), mimeType, canShow); } -public int initWithFrame (RECT frame, int /*long*/ frameName, int /*long*/ groupName) { +public int initWithFrame (RECT frame, long /*int*/ frameName, long /*int*/ groupName) { return COM.VtblCall (9, getAddress(), frame, frameName, groupName); } -public int setUIDelegate (int /*long*/ delegate) { +public int setUIDelegate (long /*int*/ delegate) { return COM.VtblCall (10, getAddress (), delegate); } -public int setResourceLoadDelegate (int /*long*/ delegate) { +public int setResourceLoadDelegate (long /*int*/ delegate) { return COM.VtblCall (12, getAddress (), delegate); } -public int setDownloadDelegate (int /*long*/ delegate) { +public int setDownloadDelegate (long /*int*/ delegate) { return COM.VtblCall (14, getAddress (), delegate); } -public int setFrameLoadDelegate (int /*long*/ delegate) { +public int setFrameLoadDelegate (long /*int*/ delegate) { return COM.VtblCall (16, getAddress (), delegate); } -public int setPolicyDelegate (int /*long*/ delegate) { +public int setPolicyDelegate (long /*int*/ delegate) { return COM.VtblCall (18, getAddress (), delegate); } -public int mainFrame (int /*long*/[] frame) { +public int mainFrame (long /*int*/[] frame) { return COM.VtblCall (20, getAddress (), frame); } @@ -60,27 +60,27 @@ public int goForward (int[] succeeded) { return COM.VtblCall (25, getAddress(), succeeded); } -public int setCustomUserAgent (int /*long*/ valueString) { +public int setCustomUserAgent (long /*int*/ valueString) { return COM.VtblCall (31, getAddress (), valueString); } -public int setPreferences (int /*long*/ prefs) { +public int setPreferences (long /*int*/ prefs) { return COM.VtblCall (41, getAddress (), prefs); } -public int preferences (int /*long*/[] prefs) { +public int preferences (long /*int*/[] prefs) { return COM.VtblCall (42, getAddress (), prefs); } -public int setHostWindow (int /*long*/ window) { +public int setHostWindow (long /*int*/ window) { return COM.VtblCall (45, getAddress (), window); } -public int hostWindow (int /*long*/[] window) { +public int hostWindow (long /*int*/[] window) { return COM.VtblCall (46, getAddress (), window); } -public int estimatedProgress (int /*long*/ estimatedProgress) { +public int estimatedProgress (long /*int*/ estimatedProgress) { return COM.VtblCall (51, getAddress (), estimatedProgress); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebViewPrivate.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebViewPrivate.java index 3fe02eae3b..506f495209 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebViewPrivate.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/IWebViewPrivate.java @@ -15,11 +15,11 @@ import org.eclipse.swt.internal.ole.win32.*; public class IWebViewPrivate extends IUnknown { -public IWebViewPrivate (int /*long*/ address) { +public IWebViewPrivate (long /*int*/ address) { super (address); } -public int viewWindow (int /*long*/[] window) { +public int viewWindow (long /*int*/[] window) { return COM.VtblCall (5, getAddress (), window); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/JSClassDefinition.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/JSClassDefinition.java index 86b3f63277..c1cba5e12f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/JSClassDefinition.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/JSClassDefinition.java @@ -17,35 +17,35 @@ public class JSClassDefinition { /** @field cast=(JSClassAttributes) */ public int attributes; /** @field cast=(const char*) */ - public int /*long*/ className; + public long /*int*/ className; /** @field cast=(JSClassRef) */ - public int /*long*/ parentClass; + public long /*int*/ parentClass; /** @field cast=(const JSStaticValue*) */ - public int /*long*/ staticValues; + public long /*int*/ staticValues; /** @field cast=(const JSStaticFunction*) */ - public int /*long*/ staticFunctions; + public long /*int*/ staticFunctions; /** @field cast=(JSObjectInitializeCallback) */ - public int /*long*/ initialize; + public long /*int*/ initialize; /** @field cast=(JSObjectFinalizeCallback) */ - public int /*long*/ finalize; + public long /*int*/ finalize; /** @field cast=(JSObjectHasPropertyCallback) */ - public int /*long*/ hasProperty; + public long /*int*/ hasProperty; /** @field cast=(JSObjectGetPropertyCallback) */ - public int /*long*/ getProperty; + public long /*int*/ getProperty; /** @field cast=(JSObjectSetPropertyCallback) */ - public int /*long*/ setProperty; + public long /*int*/ setProperty; /** @field cast=(JSObjectDeletePropertyCallback) */ - public int /*long*/ deleteProperty; + public long /*int*/ deleteProperty; /** @field cast=(JSObjectGetPropertyNamesCallback) */ - public int /*long*/ getPropertyNames; + public long /*int*/ getPropertyNames; /** @field cast=(JSObjectCallAsFunctionCallback) */ - public int /*long*/ callAsFunction; + public long /*int*/ callAsFunction; /** @field cast=(JSObjectCallAsConstructorCallback) */ - public int /*long*/ callAsConstructor; + public long /*int*/ callAsConstructor; /** @field cast=(JSObjectHasInstanceCallback) */ - public int /*long*/ hasInstance; + public long /*int*/ hasInstance; /** @field cast=(JSObjectConvertToTypeCallback) */ - public int /*long*/ convertToType; + public long /*int*/ convertToType; public static final int sizeof = WebKit_win32.JSClassDefinition_sizeof(); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/WebKit_win32.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/WebKit_win32.java index f9e9011187..fd42ae0ef4 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/WebKit_win32.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/win32/org/eclipse/swt/internal/webkit/WebKit_win32.java @@ -68,26 +68,26 @@ static GUID IIDFromString (String lpsz) { /** * @param theArray cast=(CFArrayRef) */ -public static final native int CFArrayGetCount (int /*long*/ theArray); +public static final native int CFArrayGetCount (long /*int*/ theArray); /** * @param theArray cast=(CFArrayRef) * @param idx cast=(CFIndex) */ -public static final native int /*long*/ CFArrayGetValueAtIndex (int /*long*/ theArray, int idx); +public static final native long /*int*/ CFArrayGetValueAtIndex (long /*int*/ theArray, int idx); /** * @param allocator cast=(CFAllocatorRef) * @param bytes cast=(const UInt8 *) * @param length cast=(CFIndex) */ -public static final native int /*long*/ CFDataCreate (int /*long*/ allocator, byte [] bytes, int length); +public static final native long /*int*/ CFDataCreate (long /*int*/ allocator, byte [] bytes, int length); /** * @param theData cast=(CFDataRef) */ -public static final native int /*long*/ CFDataGetBytePtr (int /*long*/ theData); +public static final native long /*int*/ CFDataGetBytePtr (long /*int*/ theData); /** * @param theData cast=(CFDataRef) */ -public static final native int CFDataGetLength (int /*long*/ theData); +public static final native int CFDataGetLength (long /*int*/ theData); /** * @param allocator cast=(CFAllocatorRef) * @param keys cast=(const void **) @@ -96,106 +96,106 @@ public static final native int CFDataGetLength (int /*long*/ theData); * @param keyCallBacks cast=(const CFDictionaryKeyCallBacks *) * @param valueCallBacks cast=(const CFDictionaryValueCallBacks *) */ -public static final native int /*long*/ CFDictionaryCreate (int /*long*/ allocator, int /*long*/[] keys, int /*long*/[] values, int numValues, int /*long*/ keyCallBacks, int /*long*/ valueCallBacks); +public static final native long /*int*/ CFDictionaryCreate (long /*int*/ allocator, long /*int*/[] keys, long /*int*/[] values, int numValues, long /*int*/ keyCallBacks, long /*int*/ valueCallBacks); /** * @param inAllocator cast=(CFAllocatorRef) * @param headerFields cast=(CFDictionaryRef) * @param inURL cast=(CFURLRef) */ -public static final native int /*long*/ CFHTTPCookieCreateWithResponseHeaderFields (int /*long*/ inAllocator, int /*long*/ headerFields, int /*long*/ inURL); +public static final native long /*int*/ CFHTTPCookieCreateWithResponseHeaderFields (long /*int*/ inAllocator, long /*int*/ headerFields, long /*int*/ inURL); /** * @param inCookie cast=(CFHTTPCookieRef) */ -public static final native int CFHTTPCookieGetFlags (int /*long*/ inCookie); +public static final native int CFHTTPCookieGetFlags (long /*int*/ inCookie); /** * @param inCookie cast=(CFHTTPCookieRef) */ -public static final native int /*long*/ CFHTTPCookieGetName (int /*long*/ inCookie); +public static final native long /*int*/ CFHTTPCookieGetName (long /*int*/ inCookie); /** * @param inCookie cast=(CFHTTPCookieRef) */ -public static final native int /*long*/ CFHTTPCookieGetValue (int /*long*/ inCookie); +public static final native long /*int*/ CFHTTPCookieGetValue (long /*int*/ inCookie); /** * @param inCookieStorage cast=(CFHTTPCookieStorageRef) */ -public static final native int /*long*/ CFHTTPCookieStorageCopyCookies (int /*long*/ inCookieStorage); +public static final native long /*int*/ CFHTTPCookieStorageCopyCookies (long /*int*/ inCookieStorage); /** * @param inCookieStorage cast=(CFHTTPCookieStorageRef) * @param inURL cast=(CFURLRef) * @param sendSecureCookies cast=(Boolean) */ -public static final native int /*long*/ CFHTTPCookieStorageCopyCookiesForURL (int /*long*/ inCookieStorage, int /*long*/ inURL, boolean sendSecureCookies); +public static final native long /*int*/ CFHTTPCookieStorageCopyCookiesForURL (long /*int*/ inCookieStorage, long /*int*/ inURL, boolean sendSecureCookies); /** * @param inCookieStorage cast=(CFHTTPCookieStorageRef) * @param inCookie cast=(CFHTTPCookieRef) */ -public static final native void CFHTTPCookieStorageDeleteCookie (int /*long*/ inCookieStorage, int /*long*/ inCookie); +public static final native void CFHTTPCookieStorageDeleteCookie (long /*int*/ inCookieStorage, long /*int*/ inCookie); /** * @param inCookieStorage cast=(CFHTTPCookieStorageRef) * @param inCookie cast=(CFHTTPCookieRef) */ -public static final native void CFHTTPCookieStorageSetCookie (int /*long*/ inCookieStorage, int /*long*/ inCookie); +public static final native void CFHTTPCookieStorageSetCookie (long /*int*/ inCookieStorage, long /*int*/ inCookie); /** * @param cf cast=(CFTypeRef) */ -public static final native void CFRelease (int /*long*/ cf); +public static final native void CFRelease (long /*int*/ cf); /** * @param alloc cast=(CFAllocatorRef) * @param chars cast=(const UniChar *) * @param numChars cast=(CFIndex) */ -public static final native int CFStringCreateWithCharacters (int /*long*/ alloc, char[] chars, int numChars); +public static final native int CFStringCreateWithCharacters (long /*int*/ alloc, char[] chars, int numChars); /** * @param theString cast=(CFStringRef) * @param idx cast=(CFIndex) */ -public static final native char CFStringGetCharacterAtIndex (int /*long*/ theString, int idx); +public static final native char CFStringGetCharacterAtIndex (long /*int*/ theString, int idx); /** * @param theString cast=(CFStringRef) */ -public static final native int /*long*/ CFStringGetCharactersPtr (int /*long*/ theString); +public static final native long /*int*/ CFStringGetCharactersPtr (long /*int*/ theString); /** * @param theString cast=(CFStringRef) */ -public static final native int CFStringGetLength (int /*long*/ theString); +public static final native int CFStringGetLength (long /*int*/ theString); /** * @param allocator cast=(CFAllocatorRef) * @param URLString cast=(CFStringRef) * @param baseURL cast=(CFURLRef) */ -public static final native int /*long*/ CFURLCreateWithString (int /*long*/ allocator, int /*long*/ URLString, int /*long*/ baseURL); +public static final native long /*int*/ CFURLCreateWithString (long /*int*/ allocator, long /*int*/ URLString, long /*int*/ baseURL); /** * @param alloc cast=(CFAllocatorRef) * @param origRequest cast=(CFURLRequestRef) */ -public static final native int /*long*/ CFURLRequestCreateMutableCopy (int /*long*/ alloc, int /*long*/ origRequest); +public static final native long /*int*/ CFURLRequestCreateMutableCopy (long /*int*/ alloc, long /*int*/ origRequest); /** * @param request cast=(CFURLRequestRef) */ -public static final native int /*long*/ CFURLRequestCopyHTTPRequestBody (int /*long*/ request); +public static final native long /*int*/ CFURLRequestCopyHTTPRequestBody (long /*int*/ request); /** * @param mutableHTTPRequest cast=(CFMutableURLRequestRef) * @param httpBody cast=(CFDataRef) */ -public static final native void CFURLRequestSetHTTPRequestBody (int /*long*/ mutableHTTPRequest, int /*long*/ httpBody); +public static final native void CFURLRequestSetHTTPRequestBody (long /*int*/ mutableHTTPRequest, long /*int*/ httpBody); /** * @param mutableRequest cast=(CFMutableURLRequestRef) * @param url cast=(CFURLRef) */ -public static final native void CFURLRequestSetURL (int /*long*/ mutableRequest, int /*long*/ url); +public static final native void CFURLRequestSetURL (long /*int*/ mutableRequest, long /*int*/ url); /** * @param definition cast=(const JSClassDefinition*) */ -public static final native int /*long*/ JSClassCreate (int /*long*/ definition); +public static final native long /*int*/ JSClassCreate (long /*int*/ definition); /** * @param jsClass cast=(JSClassRef) */ -public static final native int /*long*/ JSClassRetain (int /*long*/ jsClass); +public static final native long /*int*/ JSClassRetain (long /*int*/ jsClass); /** * @param ctx cast=(JSContextRef) */ -public static final native int /*long*/ JSContextGetGlobalObject (int /*long*/ ctx); +public static final native long /*int*/ JSContextGetGlobalObject (long /*int*/ ctx); /** * @param ctx cast=(JSContextRef) * @param script cast=(JSStringRef) @@ -203,48 +203,48 @@ public static final native int /*long*/ JSContextGetGlobalObject (int /*long*/ c * @param sourceURL cast=(JSStringRef) * @param exception cast=(JSValueRef *) */ -public static final native int /*long*/ JSEvaluateScript (int /*long*/ ctx, int /*long*/ script, int /*long*/ thisObject, int /*long*/ sourceURL, int startingLineNumber, int /*long*/[] exception); +public static final native long /*int*/ JSEvaluateScript (long /*int*/ ctx, long /*int*/ script, long /*int*/ thisObject, long /*int*/ sourceURL, int startingLineNumber, long /*int*/[] exception); /** * @param ctx cast=(JSGlobalContextRef) */ -public static final native int JSGlobalContextRetain (int /*long*/ ctx); +public static final native int JSGlobalContextRetain (long /*int*/ ctx); /** * @param object cast=(JSObjectRef) */ -public static final native int /*long*/ JSObjectGetPrivate (int /*long*/ object); +public static final native long /*int*/ JSObjectGetPrivate (long /*int*/ object); /** * @param ctx cast=(JSContextRef) * @param object cast=(JSObjectRef) * @param propertyName cast=(JSStringRef) * @param exception cast=(JSValueRef*) */ -public static final native int /*long*/ JSObjectGetProperty (int /*long*/ ctx, int /*long*/ object, int /*long*/ propertyName, int /*long*/[] exception); +public static final native long /*int*/ JSObjectGetProperty (long /*int*/ ctx, long /*int*/ object, long /*int*/ propertyName, long /*int*/[] exception); /** * @param ctx cast=(JSContextRef) * @param object cast=(JSObjectRef) * @param propertyIndex cast=(unsigned) * @param exception cast=(JSValueRef*) */ -public static final native int /*long*/ JSObjectGetPropertyAtIndex (int /*long*/ ctx, int /*long*/ object, int propertyIndex, int /*long*/[] exception); +public static final native long /*int*/ JSObjectGetPropertyAtIndex (long /*int*/ ctx, long /*int*/ object, int propertyIndex, long /*int*/[] exception); /** * @param ctx cast=(JSContextRef) * @param jsClass cast=(JSClassRef) * @param data cast=(void *) */ -public static final native int JSObjectMake (int /*long*/ ctx, int /*long*/ jsClass, int /*long*/ data); +public static final native int JSObjectMake (long /*int*/ ctx, long /*int*/ jsClass, long /*int*/ data); /** * @param ctx cast=(JSContextRef) * @param argumentCount cast=(size_t) * @param arguments cast=(const struct OpaqueJSValue * const*) * @param exception cast=(JSValueRef*) */ -public static final native int /*long*/ JSObjectMakeArray (int /*long*/ ctx, int /*long*/ argumentCount, int /*long*/[] arguments, int /*long*/[] exception); +public static final native long /*int*/ JSObjectMakeArray (long /*int*/ ctx, long /*int*/ argumentCount, long /*int*/[] arguments, long /*int*/[] exception); /** * @param ctx cast=(JSContextRef) * @param name cast=(JSStringRef) * @param callAsFunction cast=(JSObjectCallAsFunctionCallback) */ -public static final native int JSObjectMakeFunctionWithCallback (int /*long*/ ctx, int /*long*/ name, int /*long*/ callAsFunction); +public static final native int JSObjectMakeFunctionWithCallback (long /*int*/ ctx, long /*int*/ name, long /*int*/ callAsFunction); /** * @param ctx cast=(JSContextRef) * @param object cast=(JSObjectRef) @@ -253,84 +253,84 @@ public static final native int JSObjectMakeFunctionWithCallback (int /*long*/ ct * @param attributes cast=(JSPropertyAttributes) * @param exception cast=(JSValueRef *) */ -public static final native void JSObjectSetProperty (int /*long*/ ctx, int /*long*/ object, int /*long*/ propertyName, int /*long*/ value, int /*long*/ attributes, int /*long*/[] exception); +public static final native void JSObjectSetProperty (long /*int*/ ctx, long /*int*/ object, long /*int*/ propertyName, long /*int*/ value, long /*int*/ attributes, long /*int*/[] exception); /** * @param string cast=(const char*) */ -public static final native int /*long*/ JSStringCreateWithUTF8CString (byte[] string); +public static final native long /*int*/ JSStringCreateWithUTF8CString (byte[] string); /** * @param string cast=(JSStringRef) */ -public static final native int JSStringGetLength (int /*long*/ string); +public static final native int JSStringGetLength (long /*int*/ string); /** * @param string cast=(JSStringRef) */ -public static final native int /*long*/ JSStringGetMaximumUTF8CStringSize (int /*long*/ string); +public static final native long /*int*/ JSStringGetMaximumUTF8CStringSize (long /*int*/ string); /** * @param string cast=(JSStringRef) * @param buffer cast=(char *) * @param bufferSize cast=(size_t) */ -public static final native int JSStringGetUTF8CString (int /*long*/ string, byte[] buffer, int /*long*/ bufferSize); +public static final native int JSStringGetUTF8CString (long /*int*/ string, byte[] buffer, long /*int*/ bufferSize); /** * @param a cast=(JSStringRef) * @param b cast=(const char *) */ -public static final native int JSStringIsEqualToUTF8CString (int /*long*/ a, byte[] b); +public static final native int JSStringIsEqualToUTF8CString (long /*int*/ a, byte[] b); /** * @param string cast=(JSStringRef) */ -public static final native void JSStringRelease (int /*long*/ string); +public static final native void JSStringRelease (long /*int*/ string); /** * @param ctx cast=(JSContextRef) * @param value cast=(JSValueRef) */ -public static final native int JSValueGetType (int /*long*/ ctx, int /*long*/ value); +public static final native int JSValueGetType (long /*int*/ ctx, long /*int*/ value); /** * @param ctx cast=(JSContextRef) * @param value cast=(JSValueRef) * @param jsClass cast=(JSClassRef) */ -public static final native int JSValueIsObjectOfClass (int /*long*/ ctx, int /*long*/ value, int /*long*/ jsClass); +public static final native int JSValueIsObjectOfClass (long /*int*/ ctx, long /*int*/ value, long /*int*/ jsClass); /** * @param ctx cast=(JSContextRef) * @param b cast=(bool) */ -public static final native int /*long*/ JSValueMakeBoolean (int /*long*/ ctx, int /*long*/ b); +public static final native long /*int*/ JSValueMakeBoolean (long /*int*/ ctx, long /*int*/ b); /** * @param ctx cast=(JSContextRef) */ -public static final native int /*long*/ JSValueMakeNull (int /*long*/ ctx); +public static final native long /*int*/ JSValueMakeNull (long /*int*/ ctx); /** * @param ctx cast=(JSContextRef) * @param number cast=(double) */ -public static final native int /*long*/ JSValueMakeNumber (int /*long*/ ctx, double number); +public static final native long /*int*/ JSValueMakeNumber (long /*int*/ ctx, double number); /** * @param ctx cast=(JSContextRef) * @param string cast=(JSStringRef) */ -public static final native int /*long*/ JSValueMakeString (int /*long*/ ctx, int /*long*/ string); +public static final native long /*int*/ JSValueMakeString (long /*int*/ ctx, long /*int*/ string); /** * @param ctx cast=(JSContextRef) */ -public static final native int /*long*/ JSValueMakeUndefined (int /*long*/ ctx); +public static final native long /*int*/ JSValueMakeUndefined (long /*int*/ ctx); /** * @param ctx cast=(JSContextRef) * @param value cast=(JSValueRef) * @param exception cast=(JSValueRef*) */ -public static final native double JSValueToNumber (int /*long*/ ctx, int /*long*/ value, int /*long*/[] exception); +public static final native double JSValueToNumber (long /*int*/ ctx, long /*int*/ value, long /*int*/[] exception); /** * @param ctx cast=(JSContextRef) * @param value cast=(JSValueRef) * @param exception cast=(JSValueRef*) */ -public static final native int /*long*/ JSValueToStringCopy (int /*long*/ ctx, int /*long*/ value, int /*long*/[] exception); +public static final native long /*int*/ JSValueToStringCopy (long /*int*/ ctx, long /*int*/ value, long /*int*/[] exception); /** @method flags=const address*/ -public static final native int /*long*/ kCFCopyStringDictionaryKeyCallBacks (); +public static final native long /*int*/ kCFCopyStringDictionaryKeyCallBacks (); /** @method flags=const address*/ -public static final native int /*long*/ kCFTypeDictionaryValueCallBacks (); +public static final native long /*int*/ kCFTypeDictionaryValueCallBacks (); public static final native int JSClassDefinition_sizeof (); /** @@ -338,10 +338,10 @@ public static final native int JSClassDefinition_sizeof (); * @param src cast=(const void *),flags=no_out * @param size cast=(size_t) */ -public static final native void memmove (int /*long*/ dest, JSClassDefinition src, int /*long*/ size); +public static final native void memmove (long /*int*/ dest, JSClassDefinition src, long /*int*/ size); /** @method flags=no_gen */ -public static final native int WebKitCreateInstance (byte[] rclsid, int /*long*/ pUnkOuter, byte[] refiid, int /*long*/[] ppvObject); -public static final int WebKitCreateInstance (GUID clsid, int /*long*/ pUnkOuter, GUID iid, int /*long*/[] ppvObject) { +public static final native int WebKitCreateInstance (byte[] rclsid, long /*int*/ pUnkOuter, byte[] refiid, long /*int*/[] ppvObject); +public static final int WebKitCreateInstance (GUID clsid, long /*int*/ pUnkOuter, GUID iid, long /*int*/[] ppvObject) { byte[] rclsid = new byte[GUID.sizeof]; OS.IIDFromString ((clsid.toString () + '\0').toCharArray (), rclsid); byte[] refiid = new byte[GUID.sizeof]; @@ -350,12 +350,12 @@ public static final int WebKitCreateInstance (GUID clsid, int /*long*/ pUnkOuter } /** @method flags=no_gen */ -public static final native int /*long*/ JSObjectCallAsFunctionProc_CALLBACK (int /*long*/ func); +public static final native long /*int*/ JSObjectCallAsFunctionProc_CALLBACK (long /*int*/ func); /** @method flags=no_gen */ -public static final native int /*long*/ JSObjectGetPropertyProc_CALLBACK (int /*long*/ func); +public static final native long /*int*/ JSObjectGetPropertyProc_CALLBACK (long /*int*/ func); /** @method flags=no_gen */ -public static final native int /*long*/ JSObjectHasPropertyProc_CALLBACK (int /*long*/ func); +public static final native long /*int*/ JSObjectHasPropertyProc_CALLBACK (long /*int*/ func); /** @method flags=no_gen */ -public static final native int /*long*/ willPerformClientRedirectToURL_CALLBACK (int /*long*/ func); +public static final native long /*int*/ willPerformClientRedirectToURL_CALLBACK (long /*int*/ func); } |