diff options
Diffstat (limited to 'src/corelib/doc/include/jni.h')
-rw-r--r-- | src/corelib/doc/include/jni.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/corelib/doc/include/jni.h b/src/corelib/doc/include/jni.h new file mode 100644 index 0000000000..4eff8636f6 --- /dev/null +++ b/src/corelib/doc/include/jni.h @@ -0,0 +1,29 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +#pragma once + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + +// Dummy declarations for generating docs on non-Android platforms +#if !defined(Q_OS_ANDROID) && defined(Q_QDOC) +typedef struct {} JNIEnv; +typedef struct {} JNINativeMethod; +struct _jclass; +typedef _jclass* jclass; +struct _jobject; +typedef _jobject* jobject; +typedef int jint; +typedef int jmethodID; +typedef int jfieldID; +typedef void* JavaVM; +#endif |