diff Plugin/Plugin.cpp @ 8:26c08ff926a3

added warning about auto-generated files
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Oct 2023 11:21:20 +0200
parents b14ed1ea3a23
children 1c407ba1d311
line wrap: on
line diff
--- a/Plugin/Plugin.cpp	Thu Oct 19 11:14:45 2023 +0200
+++ b/Plugin/Plugin.cpp	Thu Oct 19 11:21:20 2023 +0200
@@ -52,8 +52,8 @@
 static std::unique_ptr<JavaVirtualMachine> java_;
 
 
-#include "NativeSDK.cpp"
-
+// This function is implemented in the "NativeSDK.cpp" auto-generated file
+extern void JNI_LoadNatives(std::vector<JNINativeMethod>& methods);
 
 
 #define MAX_REST_CALLBACKS  10