Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
f36aac6d
Commit
f36aac6d
authored
Feb 07, 2013
by
Yann Diorcet
Browse files
Fix lpconfig in java
parent
21c40caa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
java/impl/org/linphone/core/LpConfigImpl.java
java/impl/org/linphone/core/LpConfigImpl.java
+5
-1
No files found.
java/impl/org/linphone/core/LpConfigImpl.java
View file @
f36aac6d
...
...
@@ -23,6 +23,7 @@ package org.linphone.core;
class
LpConfigImpl
implements
LpConfig
{
private
final
long
nativePtr
;
boolean
ownPtr
=
false
;
public
LpConfigImpl
(
long
ptr
)
{
nativePtr
=
ptr
;
...
...
@@ -32,9 +33,12 @@ class LpConfigImpl implements LpConfig {
private
native
void
delete
(
long
ptr
);
public
LpConfigImpl
(
String
file
)
{
nativePtr
=
newLpConfigImpl
(
file
);
ownPtr
=
true
;
}
protected
void
finalize
()
throws
Throwable
{
delete
(
nativePtr
);
if
(
ownPtr
)
{
delete
(
nativePtr
);
}
}
private
native
void
setInt
(
long
ptr
,
String
section
,
String
key
,
int
value
);
...
...
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