|
1 | 1 | /******************************************************************************* |
2 | | - * Copyright (c) 2000, 2025 IBM Corporation and others. All rights reserved. |
| 2 | + * Copyright (c) 2000, 2026 IBM Corporation and others. All rights reserved. |
3 | 3 | * The contents of this file are made available under the terms |
4 | 4 | * of the GNU Lesser General Public License (LGPL) Version 2.1 that |
5 | 5 | * accompanies this distribution (lgpl-v21.txt). The LGPL is also |
|
29 | 29 | #pragma warning (disable: 4100) |
30 | 30 | #endif |
31 | 31 |
|
32 | | -#ifndef NO_GDK_1EVENT_1TYPE |
33 | | -JNIEXPORT jint JNICALL GDK_NATIVE(GDK_1EVENT_1TYPE) |
34 | | - (JNIEnv *env, jclass that, jlong arg0) |
35 | | -{ |
36 | | - jint rc = 0; |
37 | | - GDK_NATIVE_ENTER(env, that, GDK_1EVENT_1TYPE_FUNC); |
38 | | - rc = (jint)GDK_EVENT_TYPE((GdkEvent *)arg0); |
39 | | - GDK_NATIVE_EXIT(env, that, GDK_1EVENT_1TYPE_FUNC); |
40 | | - return rc; |
41 | | -} |
42 | | -#endif |
43 | | - |
44 | | -#ifndef NO_GDK_1EVENT_1WINDOW |
45 | | -JNIEXPORT jlong JNICALL GDK_NATIVE(GDK_1EVENT_1WINDOW) |
46 | | - (JNIEnv *env, jclass that, jlong arg0) |
47 | | -{ |
48 | | - jlong rc = 0; |
49 | | - GDK_NATIVE_ENTER(env, that, GDK_1EVENT_1WINDOW_FUNC); |
50 | | - rc = (jlong)GDK_EVENT_WINDOW((GdkEventAny *)arg0); |
51 | | - GDK_NATIVE_EXIT(env, that, GDK_1EVENT_1WINDOW_FUNC); |
52 | | - return rc; |
53 | | -} |
54 | | -#endif |
55 | | - |
56 | 32 | #ifndef NO_GDK_1IS_1WAYLAND_1DISPLAY |
57 | 33 | JNIEXPORT jboolean JNICALL GDK_NATIVE(GDK_1IS_1WAYLAND_1DISPLAY) |
58 | 34 | (JNIEnv *env, jclass that, jlong arg0) |
|
0 commit comments