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
28b6e911
Commit
28b6e911
authored
Jul 17, 2018
by
Xianwen Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update generated source code
parent
b4d8d0f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
example/generated-src/java/com/dropbox/textsort/SortItems.java
...le/generated-src/java/com/dropbox/textsort/SortItems.java
+2
-2
test-suite/generated-src/java/com/dropbox/djinni/test/ConstantInterfaceWithEnum.java
...va/com/dropbox/djinni/test/ConstantInterfaceWithEnum.java
+5
-5
No files found.
example/generated-src/java/com/dropbox/textsort/SortItems.java
View file @
28b6e911
...
...
@@ -36,14 +36,14 @@ import javax.annotation.Nonnull;
}
private
native
void
nativeDestroy
(
long
nativeRef
);
public
void
destroy
()
public
void
_djinni_private_
destroy
()
{
boolean
destroyed
=
this
.
destroyed
.
getAndSet
(
true
);
if
(!
destroyed
)
nativeDestroy
(
this
.
nativeRef
);
}
protected
void
finalize
()
throws
java
.
lang
.
Throwable
{
destroy
();
_djinni_private_
destroy
();
super
.
finalize
();
}
...
...
test-suite/generated-src/java/com/dropbox/djinni/test/ConstantInterfaceWithEnum.java
View file @
28b6e911
...
...
@@ -8,12 +8,12 @@ import javax.annotation.CheckForNull;
import
javax.annotation.Nonnull
;
/** Interface containing enum constant */
public
abstract
class
ConstantInterfaceWithEnum
{
public
interface
ConstantInterfaceWithEnum
{
@Nonnull
public
static
final
ConstantEnum
CONST_ENUM
=
ConstantEnum
.
SOME_VALUE
;
ConstantEnum
CONST_ENUM
=
ConstantEnum
.
SOME_VALUE
;
private
static
final
class
CppProxy
extend
s
ConstantInterfaceWithEnum
static
final
class
CppProxy
implement
s
ConstantInterfaceWithEnum
{
private
final
long
nativeRef
;
private
final
AtomicBoolean
destroyed
=
new
AtomicBoolean
(
false
);
...
...
@@ -25,14 +25,14 @@ public abstract class ConstantInterfaceWithEnum {
}
private
native
void
nativeDestroy
(
long
nativeRef
);
public
void
destroy
()
public
void
_djinni_private_
destroy
()
{
boolean
destroyed
=
this
.
destroyed
.
getAndSet
(
true
);
if
(!
destroyed
)
nativeDestroy
(
this
.
nativeRef
);
}
protected
void
finalize
()
throws
java
.
lang
.
Throwable
{
destroy
();
_djinni_private_
destroy
();
super
.
finalize
();
}
}
...
...
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