ktaglib: fix package bugs

This commit is contained in:
Alexander Capehart
2024-12-12 12:53:27 -07:00
parent 8c865fb581
commit 7640292d7a
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#include "taglib/tag.h"
extern "C" JNIEXPORT jstring JNICALL
Java_org_oxycblt_ktaglib_NativeLib_stringFromJNI(
Java_org_oxycblt_ktaglib_KTagLib_load(
JNIEnv* env,
jobject /* this */) {
std::string hello = "Hello from C++";
@@ -1,4 +1,6 @@
package com.example.ktaglib
package org.oxycblt.ktaglib
import java.io.InputStream
object KTagLib {
// Used to load the 'ktaglib' library on application startup.
@@ -10,5 +12,5 @@ object KTagLib {
* A native method that is implemented by the 'ktaglib' native library,
* which is packaged with this application.
*/
external fun stringFromJNI(): String
external fun load(): String
}