slot
0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
third
yoga
java
jni
macros.h
浏览该文件的文档.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* This source code is licensed under the MIT license found in the
5
* LICENSE file in the root directory of this source tree.
6
*/
7
8
#pragma once
9
10
#include <cstdlib>
11
12
#ifdef __ANDROID__
13
#include <android/log.h>
14
#endif
15
16
#ifdef __ANDROID__
17
#define VANILLAJNI_LOG_ERROR(tag, format, ...) \
18
__android_log_print(ANDROID_LOG_ERROR, tag, format, ##__VA_ARGS__)
19
#else
20
#define VANILLAJNI_LOG_ERROR(tag, format, ...)
21
#endif
22
23
#define VANILLAJNI_DIE() std::abort()
制作者
1.10.0