Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
39204729
Commit
39204729
authored
Nov 04, 2015
by
j4cbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #156 from PSPDFKit-labs/nonnull-include-file-fix
Fix missing nonnull include file for objcpp files.
parents
0165af5b
7f03b0f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/source/ObjcppGenerator.scala
src/source/ObjcppGenerator.scala
+5
-0
No files found.
src/source/ObjcppGenerator.scala
View file @
39204729
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment