nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/java: fix typo
[nit.git]
/
lib
/
java
/
java.nit
diff --git
a/lib/java/java.nit
b/lib/java/java.nit
index
c3db430
..
6358430
100644
(file)
--- a/
lib/java/java.nit
+++ b/
lib/java/java.nit
@@
-27,8
+27,8
@@
# most of JNI functions. You can use it to further customize the behavior
# of your code.
module java is
# most of JNI functions. You can use it to further customize the behavior
# of your code.
module java is
- c_compiler_option "-I $(JAVA_HOME)/include/ -I $(JAVA_HOME)/include/linux/"
- c_linker_option("-L $(JNI_LIB_PATH) -ljvm")
+ cflags "-I $(JAVA_HOME)/include/ -I $(JAVA_HOME)/include/linux/"
+ ldflags "-L $(JNI_LIB_PATH) -ljvm"
new_annotation extra_java_files
end
new_annotation extra_java_files
end
@@
-165,7
+165,7
@@
redef extern class JavaObject
# Pops the current local reference frame and return a valid reference to self
#
# Pops the current local reference frame and return a valid reference to self
#
- # Similiar to `JavaVM::pop_local_frame` but returns a value.
+ # Similar to `JavaVM::pop_local_frame` but returns a value.
fun pop_from_local_frame: SELF
do
var jni_env = sys.jni_env
fun pop_from_local_frame: SELF
do
var jni_env = sys.jni_env