nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
interpreter: interpret `with` statement
[nit.git]
/
src
/
c_tools.nit
diff --git
a/src/c_tools.nit
b/src/c_tools.nit
index
b835f2a
..
932f03d
100644
(file)
--- a/
src/c_tools.nit
+++ b/
src/c_tools.nit
@@
-61,7
+61,7
@@
class CCompilationUnit
body_impl.add( efc.to_writer )
end
body_impl.add( efc.to_writer )
end
- fun compile_header_core( stream : OStream )
+ fun compile_header_core( stream : Writer )
do
header_c_base.write_to( stream )
header_custom.write_to( stream )
do
header_c_base.write_to( stream )
header_custom.write_to( stream )
@@
-69,7
+69,7
@@
class CCompilationUnit
header_decl.write_to( stream )
end
header_decl.write_to( stream )
end
- fun compile_body_core( stream : OStream )
+ fun compile_body_core( stream : Writer )
do
body_decl.write_to( stream )
body_custom.write_to( stream )
do
body_decl.write_to( stream )
body_custom.write_to( stream )
@@
-125,7
+125,7
@@
end
class ExternCFile
super ExternFile
class ExternCFile
super ExternFile
- # Additional specific CC compiler -c flags
+ # Custom options for the C compiler (CFLAGS)
var cflags: String
redef fun hash do return filename.hash
var cflags: String
redef fun hash do return filename.hash