Commit 7f03b0f1 authored by Patrik Weiskircher's avatar Patrik Weiskircher

Fix missing nonnull include file for objcpp files.

parent 0165af5b
......@@ -74,6 +74,11 @@ class ObjcppGenerator(spec: Spec) extends Generator(spec) {
refs.privHeader.add("!#include " + q(spec.objcppIncludeCppPrefix + spec.cppFileIdentStyle(ident) + "." + spec.cppHeaderExt))
refs.body.add("!#import " + q(spec.objcppIncludeObjcPrefix + headerName(ident)))
spec.cppNnHeader match {
case Some(nnHdr) => refs.privHeader.add("#include " + nnHdr)
case _ =>
}
def writeObjcFuncDecl(method: Interface.Method, w: IndentWriter) {
val label = if (method.static) "+" else "-"
val ret = objcMarshal.fqReturnType(method.ret)
......
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