11 lines
212 B
C
11 lines
212 B
C
// +build android
|
|
|
|
#include "_cgo_export.h"
|
|
|
|
struct android_app *GetAndroidApp();
|
|
|
|
void android_init() {
|
|
struct android_app *app;
|
|
app = GetAndroidApp();
|
|
asset_manager = app->activity->assetManager;
|
|
}
|