Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 057e9af2f113151acb7d2b6a6d5bec47ffa5868c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*******************************************************************************
 * Copyright (c) 2010, 2012 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.swt.internal.webkit;


/** @jniclass flags=cpp */
public class JSClassDefinition {
    public int version;
    /** @field cast=(JSClassAttributes) */
    public int attributes;
    /** @field cast=(const char*) */
    public long /*int*/ className;
    /** @field cast=(JSClassRef) */
    public long /*int*/ parentClass;
    /** @field cast=(const JSStaticValue*) */
    public long /*int*/ staticValues;
    /** @field cast=(const JSStaticFunction*) */
    public long /*int*/ staticFunctions;
    /** @field cast=(JSObjectInitializeCallback) */
    public long /*int*/ initialize;
    /** @field cast=(JSObjectFinalizeCallback) */
    public long /*int*/ finalize;
    /** @field cast=(JSObjectHasPropertyCallback) */
    public long /*int*/ hasProperty;
    /** @field cast=(JSObjectGetPropertyCallback) */
    public long /*int*/ getProperty;
    /** @field cast=(JSObjectSetPropertyCallback) */
    public long /*int*/ setProperty;
    /** @field cast=(JSObjectDeletePropertyCallback) */
    public long /*int*/ deleteProperty;
    /** @field cast=(JSObjectGetPropertyNamesCallback) */
    public long /*int*/ getPropertyNames;
    /** @field cast=(JSObjectCallAsFunctionCallback) */
    public long /*int*/ callAsFunction;
    /** @field cast=(JSObjectCallAsConstructorCallback) */
    public long /*int*/ callAsConstructor;
    /** @field cast=(JSObjectHasInstanceCallback) */
    public long /*int*/ hasInstance;
    /** @field cast=(JSObjectConvertToTypeCallback) */
    public long /*int*/ convertToType;

    public static final int sizeof = WebKit_win32.JSClassDefinition_sizeof();
}

Back to the top