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
8ad9ce9a
Commit
8ad9ce9a
authored
Sep 11, 2014
by
j4cbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3 from skabbes/fix/import_foundation
Add Foundation for headers, NSObject requires it
parents
1c49ec6e
42af7f50
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
0 deletions
+5
-0
.gitignore
.gitignore
+1
-0
example/generated-src/objc/TXSSortItemsCppProxy.h
example/generated-src/objc/TXSSortItemsCppProxy.h
+1
-0
src/source/ObjcGenerator.scala
src/source/ObjcGenerator.scala
+1
-0
test-suite/generated-src/objc/DBCppExceptionCppProxy.h
test-suite/generated-src/objc/DBCppExceptionCppProxy.h
+1
-0
test-suite/generated-src/objc/DBTestHelpersCppProxy.h
test-suite/generated-src/objc/DBTestHelpersCppProxy.h
+1
-0
No files found.
.gitignore
View file @
8ad9ce9a
...
...
@@ -27,6 +27,7 @@ build_ios/
# xcode stuff
project.xcworkspace
*.xccheckout
DerivedData
# djinni output directories
djinni-output-temp/
example/generated-src/objc/TXSSortItemsCppProxy.h
View file @
8ad9ce9a
...
...
@@ -2,6 +2,7 @@
// This file generated by Djinni from example.djinni
#import "TXSSortItems.h"
#import <Foundation/Foundation.h>
@interface
TXSSortItemsCppProxy
:
NSObject
<
TXSSortItems
>
@end
src/source/ObjcGenerator.scala
View file @
8ad9ce9a
...
...
@@ -232,6 +232,7 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) {
writeObjcFile
(
headerName
(
cppExtName
),
origin
,
mutable
.
TreeSet
[
String
](),
w
=>
{
w
.
wl
(
"#import "
+
q
(
headerName
(
ident
)))
w
.
wl
(
"#import <Foundation/Foundation.h>"
)
w
.
wl
w
.
wl
(
s
"@interface $cppExtSelf : NSObject <$self>"
)
w
.
wl
(
"@end"
)
...
...
test-suite/generated-src/objc/DBCppExceptionCppProxy.h
View file @
8ad9ce9a
...
...
@@ -2,6 +2,7 @@
// This file generated by Djinni from exception.djinni
#import "DBCppException.h"
#import <Foundation/Foundation.h>
@interface
DBCppExceptionCppProxy
:
NSObject
<
DBCppException
>
@end
test-suite/generated-src/objc/DBTestHelpersCppProxy.h
View file @
8ad9ce9a
...
...
@@ -2,6 +2,7 @@
// This file generated by Djinni from test.djinni
#import "DBTestHelpers.h"
#import <Foundation/Foundation.h>
@interface
DBTestHelpersCppProxy
:
NSObject
<
DBTestHelpers
>
@end
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