Commit 87707fc0 authored by Jakob Schweisshelm's avatar Jakob Schweisshelm

Changed Namespace for CppProxy to global ::djinni in JNIGenerator

parent 1331e7dd
......@@ -334,7 +334,7 @@ class JNIGenerator(spec: Spec) extends Generator(spec) {
}
}
nativeHook("nativeDestroy", false, Seq.empty, None, {
w.wl(s"delete reinterpret_cast<djinni::CppProxyHandle<$cppSelf>*>(nativeRef);")
w.wl(s"delete reinterpret_cast<::djinni::CppProxyHandle<$cppSelf>*>(nativeRef);")
})
for (m <- i.methods) {
val nativeAddon = if (m.static) "" else "native_"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment