Commit a5717a04 authored by j4cbo's avatar j4cbo

Merge pull request #41 from mknejp/fix/djinni-support-hpp-prefix

Prepend djinni_support.hpp with --jni-base-lib-include-prefix
parents a512f387 1fd10764
...@@ -37,7 +37,7 @@ class JNIGenerator(spec: Spec) extends Generator(spec) { ...@@ -37,7 +37,7 @@ class JNIGenerator(spec: Spec) extends Generator(spec) {
var jniCpp = mutable.TreeSet[String]() var jniCpp = mutable.TreeSet[String]()
jniHpp.add("#include " + q(spec.jniIncludeCppPrefix + spec.cppFileIdentStyle(name) + "." + spec.cppHeaderExt)) jniHpp.add("#include " + q(spec.jniIncludeCppPrefix + spec.cppFileIdentStyle(name) + "." + spec.cppHeaderExt))
jniHpp.add("#include \"djinni_support.hpp\"") jniHpp.add("#include " + q(spec.jniBaseLibIncludePrefix + "djinni_support.hpp"))
def find(ty: TypeRef) { find(ty.resolved) } def find(ty: TypeRef) { find(ty.resolved) }
def find(tm: MExpr) { def find(tm: MExpr) {
......
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