1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

android: provide more predictable logging, add comptime termux support (#14984)

This commit is contained in:
Larpon
2022-07-07 17:28:29 +02:00
committed by GitHub
parent 71a85249ea
commit 9f3b6e3e3a
9 changed files with 49 additions and 44 deletions

View File

@@ -487,5 +487,8 @@ fn C.glTexImage2D()
// used by ios for println
fn C.WrappedNSLog(str &u8)
// used by Android for (e)println to output to the Android log system / logcat
pub fn C.android_print(voidptr, &char, ...voidptr)
// absolute value
fn C.abs(number int) int