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

os: update C apis used in os_android.c.v (#9134)

This commit is contained in:
R cqls 2021-03-05 18:20:11 +01:00 committed by GitHub
parent 07a1a9b84d
commit 204f57d227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
module os
struct C.AAset {
struct C.AAsset {
}
struct C.AAssetManager {
@ -10,11 +10,11 @@ struct C.ANativeActivity {
assetManager voidptr
}
fn C.AAssetManager_open(&C.AAsetManager, charptr, int) &C.AAset
fn C.AAssetManager_open(&C.AAssetManager, charptr, int) &C.AAsset
fn C.AAsset_getLength(&C.AAset) int
fn C.AAsset_getLength(&C.AAsset) int
fn C.AAsset_read(&C.AAset, voidptr, int) int
fn C.AAsset_read(&C.AAsset, voidptr, int) int
fn C.AAsset_close(&C.AAsset)