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

pull/9137/head
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
1 changed files with 4 additions and 4 deletions

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)