3dphotoshoot
changeset 15:2d48f65da357
assman
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 07 Jun 2015 20:40:37 +0300 |
parents | 06dc8b9b4f89 |
children | c6952cc82cca |
files | .clang_complete src/android/assman.c src/assman.h |
diffstat | 3 files changed, 17 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/.clang_complete Sun Jun 07 17:25:49 2015 +0300 1.2 +++ b/.clang_complete Sun Jun 07 20:40:37 2015 +0300 1.3 @@ -1,6 +1,6 @@ 1.4 -std=c99 1.5 -Isrc 1.6 -Isrc/android 1.7 --I$NDK/platforms/android-21/arch-arm/usr/include 1.8 +-I/home/nuclear/devel/android-ndk-r10d/platforms/android-21/arch-arm/usr/include 1.9 -DAPP_NAME=\"photoshoot3d\" 1.10 -D__ANDROID__=1
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/src/android/assman.c Sun Jun 07 20:40:37 2015 +0300 2.3 @@ -0,0 +1,5 @@ 2.4 +#include <android/asset_manager.h> 2.5 + 2.6 +void *ass_open(const char *fname) 2.7 +{ 2.8 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/src/assman.h Sun Jun 07 20:40:37 2015 +0300 3.3 @@ -0,0 +1,11 @@ 3.4 +#ifndef ASSMAN_H_ 3.5 +#define ASSMAN_H_ 3.6 + 3.7 +void *ass_open(const char *fname); 3.8 +void ass_close(void *fp); 3.9 +void ass_rewind(void *fp); 3.10 +long ass_seek(void *fp, long offs, int whence); 3.11 +long ass_read(void *fp, void *buf, long bytes); 3.12 + 3.13 + 3.14 +#endif /* ASSMAN_H_ */