nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422e869
)
lib/java: make pop_from_local_frame_with_env protected to be redefable
author
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 28 Jul 2015 18:11:38 +0000
(14:11 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Wed, 29 Jul 2015 12:47:29 +0000
(08:47 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/java/java.nit
patch
|
blob
|
history
diff --git
a/lib/java/java.nit
b/lib/java/java.nit
index
04e8743
..
cefa71d
100644
(file)
--- a/
lib/java/java.nit
+++ b/
lib/java/java.nit
@@
-172,7
+172,8
@@
redef extern class JavaObject
return pop_from_local_frame_with_env(jni_env)
end
- private fun pop_from_local_frame_with_env(jni_env: JniEnv): SELF `{
+ # Java implementation of `pop_from_local_frame`
+ protected fun pop_from_local_frame_with_env(jni_env: JniEnv): SELF `{
return (*jni_env)->PopLocalFrame(jni_env, self);
`}