nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contracts: Modification contracts creation
[nit.git]
/
src
/
c_tools.nit
diff --git
a/src/c_tools.nit
b/src/c_tools.nit
index
9a03c5a
..
61c1f9c
100644
(file)
--- a/
src/c_tools.nit
+++ b/
src/c_tools.nit
@@
-105,7
+105,8
@@
end
# An extern file to compile
class ExternFile
# An extern file to compile
class ExternFile
- # The filename of the file
+
+ # Filename relative to the nit-compile folder
var filename: String
# The name of the target in the Makefile
var filename: String
# The name of the target in the Makefile
@@
-118,6
+119,7
@@
class ExternFile
fun compiles_to_o_file: Bool do return false
fun compiles_to_o_file: Bool do return false
+ # Is `self` a Java file to include in the JAR archive?
fun add_to_jar: Bool do return false
# Additional libraries needed for the compilation
fun add_to_jar: Bool do return false
# Additional libraries needed for the compilation