Added android log macros
This commit is contained in:
parent
283a80d7bc
commit
cbf692dcba
1 changed files with 5 additions and 0 deletions
|
|
@ -22,6 +22,11 @@
|
||||||
|
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
|
|
||||||
|
#include <android/log.h>
|
||||||
|
|
||||||
|
#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "AndroidProject1.NativeActivity", __VA_ARGS__))
|
||||||
|
#define LOGW(...) ((void)__android_log_print(ANDROID_LOG_WARN, "AndroidProject1.NativeActivity", __VA_ARGS__))
|
||||||
|
|
||||||
// Function pointer prototypes
|
// Function pointer prototypes
|
||||||
// Not complete, just the functions used in the caps viewer!
|
// Not complete, just the functions used in the caps viewer!
|
||||||
extern PFN_vkCreateInstance vkCreateInstance;
|
extern PFN_vkCreateInstance vkCreateInstance;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue