Skip to content

Commit 907c6a0

Browse files
committed
Add AndroidNDK
1 parent 75b7f51 commit 907c6a0

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

Sources/AndroidNDK/include/ndk.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#pragma once
2+
3+
#include <android/log.h>
4+
#include <android/looper.h>
5+
#include <android/choreographer.h>
6+
#include <android/native_activity.h>
7+
8+
// needed for AndroidSystem
9+
#include <sys/epoll.h>
10+
#include <sys/eventfd.h>
11+
#include <sys/stat.h>
12+
#include <sys/socket.h>
13+
#include <sys/sysinfo.h>
14+
#include <sys/timerfd.h>
15+
#include <sys/types.h>
16+
#include <errno.h>
17+
#include <fcntl.h>
18+
#include <pthread.h>
19+
#include <sched.h>
20+
#include <unistd.h>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module AndroidNDK [system] {
2+
link "log"
3+
header "ndk.h"
4+
export *
5+
}

Sources/AndroidNDK/src.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)