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
3eace1f4
Commit
3eace1f4
authored
Jul 15, 2015
by
Stephen Spann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc typos in project readme
parent
1a1191eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
3eace1f4
...
...
@@ -21,7 +21,7 @@ We announced Djinni at CppCon 2014. Access the slides from https://bit.ly/djinni
### Types
Djinni generates code based on interface definitions in an IDL file. An IDL file can contain
three kinds of declaration: enums, records, and interfaces.
three kinds of declaration
s
: enums, records, and interfaces.
*
Enums become C++ enum classes, Java enums, or ObjC
`NS_ENUM`
s.
*
Records are pure-data value objects.
...
...
@@ -158,7 +158,7 @@ you'll need to add calls to your own `JNI_OnLoad` and `JNI_OnUnload` functions.
#### Objective-C / C++ Project
##### Includes & Build Target
Generated file
for Objective-C / C++ is
as follows (assuming prefix is
`DB`
):
Generated file
s for Objective-C / C++ are
as follows (assuming prefix is
`DB`
):
| Type | C++ header | C++ source | Objective-C files | Objective-C++ files |
|-----------|------------------------|----------------------------|--------------------------|-----------------------------|
...
...
@@ -235,7 +235,7 @@ will be translated as well.
### Constants
Constants can be defined within interfaces and records. In Java and C++ they are part of the
generated class; and in Objective-C, constant names are globals with name of the
generated class; and in Objective-C, constant names are globals with
the
name of the
interface/record prefixed. Example:
record_with_const = record +c +j +o {
...
...
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