@gmessier/nitro-speech 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/nitro.json
CHANGED
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"NitroSpeech": {
|
|
17
17
|
"ios": {
|
|
18
18
|
"language": "swift",
|
|
19
|
-
"implementationClassName": "
|
|
19
|
+
"implementationClassName": "HybridNitroSpeech"
|
|
20
20
|
},
|
|
21
21
|
"android": {
|
|
22
22
|
"language": "kotlin",
|
|
23
|
-
"implementationClassName": "
|
|
23
|
+
"implementationClassName": "HybridNitroSpeech"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -32,7 +32,7 @@ int initialize(JavaVM* vm) {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
struct JHybridNitroSpeechSpecImpl: public jni::JavaClass<JHybridNitroSpeechSpecImpl, JHybridNitroSpeechSpec::JavaPart> {
|
|
35
|
-
static constexpr auto kJavaDescriptor = "Lcom/margelo/nitro/nitrospeech/
|
|
35
|
+
static constexpr auto kJavaDescriptor = "Lcom/margelo/nitro/nitrospeech/HybridNitroSpeech;";
|
|
36
36
|
static std::shared_ptr<JHybridNitroSpeechSpec> create() {
|
|
37
37
|
static const auto constructorFn = javaClassStatic()->getConstructor<JHybridNitroSpeechSpecImpl::javaobject()>();
|
|
38
38
|
jni::local_ref<JHybridNitroSpeechSpec::JavaPart> javaPart = javaClassStatic()->newObject(constructorFn);
|
|
@@ -13,7 +13,7 @@ public final class NitroSpeechAutolinking {
|
|
|
13
13
|
public typealias bridge = margelo.nitro.nitrospeech.bridge.swift
|
|
14
14
|
|
|
15
15
|
public static func createNitroSpeech() -> bridge.std__shared_ptr_HybridNitroSpeechSpec_ {
|
|
16
|
-
let hybridObject =
|
|
16
|
+
let hybridObject = HybridNitroSpeech()
|
|
17
17
|
return { () -> bridge.std__shared_ptr_HybridNitroSpeechSpec_ in
|
|
18
18
|
let __cxxWrapped = hybridObject.getCxxWrapper()
|
|
19
19
|
return __cxxWrapped.getCxxPart()
|
|
@@ -21,6 +21,6 @@ public final class NitroSpeechAutolinking {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
public static func isNitroSpeechRecyclable() -> Bool {
|
|
24
|
-
return
|
|
24
|
+
return HybridNitroSpeech.self is any RecyclableView.Type
|
|
25
25
|
}
|
|
26
26
|
}
|
package/package.json
CHANGED