Export symbol required to use sfml-activity

This commit is contained in:
Chris Thrasher 2023-03-21 15:05:46 -06:00
parent 6ca627ee9d
commit 10584485a3

View File

@ -132,7 +132,7 @@ void* loadLibrary(const char* libraryName, JNIEnv* lJNIEnv, jobject& ObjectActiv
return handle;
}
void ANativeActivity_onCreate(ANativeActivity* activity, void* savedState, std::size_t savedStateSize)
JNIEXPORT void ANativeActivity_onCreate(ANativeActivity* activity, void* savedState, std::size_t savedStateSize)
{
// Before we can load a library, we need to find out its location. As
// we're powerless here in C/C++, we need the JNI interface to communicate